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

Unified Diff: runtime/observatory/lib/src/service/object.dart

Issue 1152753005: Service cleanups... (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Update docs. Tweak TypeRef and BoundedType. Created 5 years, 6 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: runtime/observatory/lib/src/service/object.dart
diff --git a/runtime/observatory/lib/src/service/object.dart b/runtime/observatory/lib/src/service/object.dart
index 75e278c9c47a9f68c96aeb7f9cb45b7abb140b36..1e6be4e56fd61c4149d29a017697da6659ba78d8 100644
--- a/runtime/observatory/lib/src/service/object.dart
+++ b/runtime/observatory/lib/src/service/object.dart
@@ -1487,6 +1487,14 @@ class ServiceEvent extends ServiceObject {
if (map['breakpoint'] != null) {
breakpoint = map['breakpoint'];
}
+ // TODO(turnidge): Expose the full list of breakpoints. For now
+ // we just pretend like there is only one active breakpoint.
+ if (map['pauseBreakpoints'] != null) {
+ var pauseBpts = map['pauseBreakpoints'];
+ if (pauseBpts.length > 0) {
+ breakpoint = pauseBpts[0];
+ }
+ }
topFrame = map['topFrame'];
if (map['exception'] != null) {
exception = map['exception'];
« no previous file with comments | « runtime/observatory/lib/src/elements/instance_view.html ('k') | runtime/observatory/tests/service/get_object_rpc_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698