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

Unified Diff: runtime/observatory/lib/src/elements/debugger.dart

Issue 1399743002: Straw man setExceptionPauseMode (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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 | runtime/observatory/lib/src/service/object.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/observatory/lib/src/elements/debugger.dart
diff --git a/runtime/observatory/lib/src/elements/debugger.dart b/runtime/observatory/lib/src/elements/debugger.dart
index a260f765c0b39835ddbb41e4d86aa421f6502886..431007529ddec32464bcf61458880e58d535a287 100644
--- a/runtime/observatory/lib/src/elements/debugger.dart
+++ b/runtime/observatory/lib/src/elements/debugger.dart
@@ -517,7 +517,7 @@ class SetCommand extends DebuggerCommand {
SetCommand(Debugger debugger)
: super(debugger, 'set', []);
- static var _boeValues = ['all', 'none', 'unhandled'];
+ static var _boeValues = ['All', 'None', 'Unhandled'];
static var _boolValues = ['false', 'true'];
static var _options = {
@@ -530,7 +530,7 @@ class SetCommand extends DebuggerCommand {
};
static Future _setBreakOnException(debugger, name, value) async {
- var result = await debugger.isolate.setExceptionPauseInfo(value);
+ var result = await debugger.isolate.setExceptionPauseMode(value);
if (result.isError) {
debugger.console.print(result.toString());
} else {
« no previous file with comments | « no previous file | runtime/observatory/lib/src/service/object.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698