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']; |