Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(538)

Unified Diff: sdk/lib/debugger/debugger.dart

Issue 1121293003: Provide a dart2js implementation of dart:debugger (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sdk/lib/debugger/debugger.dart
diff --git a/sdk/lib/debugger/debugger.dart b/sdk/lib/debugger/debugger.dart
index 33cf81b9e2f07e10f1947693a3715957dc1e77e7..7135d443165bbcab10c03e903a876dc7b0918fdd 100644
--- a/sdk/lib/debugger/debugger.dart
+++ b/sdk/lib/debugger/debugger.dart
@@ -11,13 +11,9 @@ class Debugger {
/// NOTE: When invoked, the isolate will not return until a debugger
/// continues execution. The behaviour is the same regardless of whether or
/// not a debugger is connected.
- static void breakHere() {
- print('Debugger.breakHere not supported on this platform.');
- }
+ external static void breakHere();
sra1 2015/05/06 04:33:10 Since this is now external, the VM needs a patch f
Alan Knight 2015/05/06 17:04:39 There is already a patch class in runtime/lib/debu
/// If [expr] is true, stop the program as if a breakpoint where hit at the
/// following statement.
- static void breakHereIf(bool expr) {
- print('Debugger.breakHereIf not supported on this platform.');
- }
+ external static void breakHereIf(bool expr);
}

Powered by Google App Engine
This is Rietveld 408576698