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

Unified Diff: runtime/vm/isolate.cc

Issue 340443006: Add support for asynchronous event notification to the observatory. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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
« no previous file with comments | « runtime/vm/debugger.cc ('k') | runtime/vm/service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/isolate.cc
diff --git a/runtime/vm/isolate.cc b/runtime/vm/isolate.cc
index 8d0587fcee202c4b6b6ad060690daf55f52f496d..18ab3ee02f862a5cc27bc136bbfb3a8abc20e0cf 100644
--- a/runtime/vm/isolate.cc
+++ b/runtime/vm/isolate.cc
@@ -978,11 +978,11 @@ void Isolate::PrintJSON(JSONStream* stream, bool ref) {
// TODO(turnidge): Make the debugger support paused_on_start/exit.
if (message_handler()->paused_on_start()) {
ASSERT(debugger()->PauseEvent() == NULL);
- DebuggerEvent pauseEvent(DebuggerEvent::kIsolateCreated);
+ DebuggerEvent pauseEvent(this, DebuggerEvent::kIsolateCreated);
jsobj.AddProperty("pauseEvent", &pauseEvent);
} else if (message_handler()->paused_on_exit()) {
ASSERT(debugger()->PauseEvent() == NULL);
- DebuggerEvent pauseEvent(DebuggerEvent::kIsolateShutdown);
+ DebuggerEvent pauseEvent(this, DebuggerEvent::kIsolateShutdown);
jsobj.AddProperty("pauseEvent", &pauseEvent);
} else if (debugger()->PauseEvent() != NULL) {
jsobj.AddProperty("pauseEvent", debugger()->PauseEvent());
« no previous file with comments | « runtime/vm/debugger.cc ('k') | runtime/vm/service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698