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

Unified Diff: runtime/vm/json_stream.cc

Issue 1973303003: VMMustBePaused -> IsolateMustBePaused (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 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/json_stream.h ('k') | runtime/vm/service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/json_stream.cc
diff --git a/runtime/vm/json_stream.cc b/runtime/vm/json_stream.cc
index a721c7e9bb0aaba4e33e5bec42dba5469bb5fe02..003f1b36d3c76a91340a6ab3dbfadf43be15d4af 100644
--- a/runtime/vm/json_stream.cc
+++ b/runtime/vm/json_stream.cc
@@ -124,10 +124,12 @@ static const char* GetJSONRpcErrorMessage(intptr_t code) {
return "Internal error";
case kFeatureDisabled:
return "Feature is disabled";
- case kVMMustBePaused:
- return "VM must be paused";
case kCannotAddBreakpoint:
return "Cannot add breakpoint";
+ case kIsolateMustBeRunnable:
+ return "Isolate must be runnable";
+ case kIsolateMustBePaused:
+ return "Isolate must be paused";
default:
return "Extension error";
}
« no previous file with comments | « runtime/vm/json_stream.h ('k') | runtime/vm/service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698