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

Unified Diff: runtime/vm/debugger.cc

Issue 866663003: Add a working command line debugger to Observatory. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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/vm/debugger.cc
diff --git a/runtime/vm/debugger.cc b/runtime/vm/debugger.cc
index e83a1a92381dedfcda74e6b3467a99ee31ca76f9..5de747704f8d8ea25f33ef3e8b27b452b75fae30 100644
--- a/runtime/vm/debugger.cc
+++ b/runtime/vm/debugger.cc
@@ -522,6 +522,8 @@ const char* DebuggerEvent::EventTypeToCString(EventType type) {
return "IsolateShutdown";
case kIsolateInterrupted:
return "IsolateInterrupted";
+ case kIsolateResumed:
+ return "IsolateResumed";
default:
UNREACHABLE();
return "Unknown";
@@ -538,6 +540,7 @@ void DebuggerEvent::PrintJSON(JSONStream* js) const {
jsobj.AddProperty("isolate", isolate());
if ((type() == kBreakpointResolved || type() == kBreakpointReached) &&
breakpoint() != NULL) {
+ // TODO(turnidge): Make this a breakpoint ref.
jsobj.AddProperty("breakpoint", breakpoint());
}
if (type() == kExceptionThrown) {

Powered by Google App Engine
This is Rietveld 408576698