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

Unified Diff: tests/standalone/debugger/debug_lib.dart

Issue 13940008: Add library id, location info to breakpointResolved event (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 8 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 | « runtime/vm/debugger_api_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/debugger/debug_lib.dart
===================================================================
--- tests/standalone/debugger/debug_lib.dart (revision 21565)
+++ tests/standalone/debugger/debug_lib.dart (working copy)
@@ -341,8 +341,15 @@
}
}
} else if (msg["event"] == "breakpointResolved") {
- // Ignore the event. We may want to maintain a table of
- // breakpoints in the future.
+ var bpId = msg["params"]["breakpointId"];
+ assert(bpId != null);
+ var isolateId = msg["params"]["isolateId"];
+ assert(isolateId != null);
+ var location = msg["params"]["location"];
+ assert(location != null);
+ print("Isolate $isolateId: breakpoint $bpId resolved"
+ " at location $location");
+ // We may want to maintain a table of breakpoints in the future.
} else if (msg["event"] == "paused") {
isPaused = true;
} else {
« no previous file with comments | « runtime/vm/debugger_api_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698