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

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

Issue 1130043002: Keep dart:debugger comments in sync (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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/debugger/debugger.dart
diff --git a/sdk/lib/debugger/debugger.dart b/sdk/lib/debugger/debugger.dart
index 7135d443165bbcab10c03e903a876dc7b0918fdd..30089883294e929a8a19ebc94e59099a3d891a37 100644
--- a/sdk/lib/debugger/debugger.dart
+++ b/sdk/lib/debugger/debugger.dart
@@ -9,11 +9,13 @@ library dart.debugger;
class Debugger {
/// Stop the program as if a breakpoint where hit at the following statement.
/// 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.
+ /// continues execution. When running in the Dart VM the behaviour is the same
+ /// regardless of whether or not a debugger is connected. When compiled to
+ /// JavaScript, this uses the "debugger" statement, and behaves exactly as
+ /// that does.
external static void breakHere();
/// If [expr] is true, stop the program as if a breakpoint where hit at the
- /// following statement.
+ /// following statement. See [breakHere].
external static void breakHereIf(bool expr);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698