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

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

Issue 2180613002: vm-service: Include pauseEvent even when running without debugger support. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: parens Created 4 years, 5 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/vm/isolate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 4110e923f26e074f58201e5b51d69a976ca3f22c..85574feb1940361f0fac7e469aba2c9765473e03 100644
--- a/runtime/observatory/lib/src/service/object.dart
+++ b/runtime/observatory/lib/src/service/object.dart
@@ -1455,7 +1455,11 @@ class Isolate extends ServiceObjectOwner implements M.Isolate {
updateHeapsFromMap(map['_heaps']);
_updateBreakpoints(map['breakpoints']);
- exceptionsPauseInfo = map['_debuggerSettings']['_exceptions'];
+ if (map['_debuggerSettings'] != null) {
+ exceptionsPauseInfo = map['_debuggerSettings']['_exceptions'];
+ } else {
+ exceptionsPauseInfo = "none";
+ }
var newPauseEvent = map['pauseEvent'];
assert((pauseEvent == null) ||
« no previous file with comments | « no previous file | runtime/vm/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698