-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restructuring to start supporting breakpoints and sourcemaps (#377)
- Loading branch information
1 parent
b14d736
commit 7d14c3b
Showing
3 changed files
with
87 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import 'dart:async'; | ||
|
||
import 'package:webkit_inspection_protocol/webkit_inspection_protocol.dart'; | ||
import 'package:vm_service_lib/vm_service_lib.dart'; | ||
|
||
import 'chrome_proxy_service.dart'; | ||
|
||
class Debugger { | ||
Debugger(this.mainProxy); | ||
|
||
ChromeProxyService mainProxy; | ||
|
||
WipDebugger get chromeDebugger => mainProxy.tabConnection.debugger; | ||
|
||
Future<Null> initialize() async { | ||
await chromeDebugger.enable(); | ||
} | ||
|
||
Future<Breakpoint> addBreakpoint(String isolateId, String scriptId, int line, | ||
{int column}) async { | ||
throw UnimplementedError(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters