Index: runtime/vm/json_stream.cc |
diff --git a/runtime/vm/json_stream.cc b/runtime/vm/json_stream.cc |
index efb1290cddbb62409d6677ef39b67639dbe86214..2470d19c4ff47890b38f895e305b5fd0d0de8ee7 100644 |
--- a/runtime/vm/json_stream.cc |
+++ b/runtime/vm/json_stream.cc |
@@ -95,14 +95,12 @@ static const char* GetJSONRpcErrorMessage(intptr_t code) { |
return "Invalid params"; |
case kInternalError: |
return "Internal error"; |
+ case kFeatureDisabled: |
+ return "Feature is disabled"; |
case kVMMustBePaused: |
return "VM must be paused"; |
- case kNoBreakAtLine: |
- return "Cannot set breakpoint at line"; |
- case kNoBreakAtFunction: |
- return "Cannot set breakpoint at function"; |
- case kProfilingDisabled: |
- return "Profiling is disabled"; |
+ case kCannotAddBreakpoint: |
+ return "Cannot add breakpoint"; |
default: |
UNIMPLEMENTED(); |
return "Unexpected rpc error code"; |