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

Side by Side Diff: runtime/vm/json_stream.cc

Issue 2521413002: Revert "Implement rewind: drop one or more frames from the debugger." (Closed)
Patch Set: Created 4 years 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 unified diff | Download patch
« no previous file with comments | « runtime/vm/json_stream.h ('k') | runtime/vm/object.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "platform/assert.h" 5 #include "platform/assert.h"
6 6
7 #include "include/dart_native_api.h" 7 #include "include/dart_native_api.h"
8 #include "vm/dart_entry.h" 8 #include "vm/dart_entry.h"
9 #include "vm/debugger.h" 9 #include "vm/debugger.h"
10 #include "vm/json_stream.h" 10 #include "vm/json_stream.h"
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 case kInternalError: 132 case kInternalError:
133 return "Internal error"; 133 return "Internal error";
134 case kFeatureDisabled: 134 case kFeatureDisabled:
135 return "Feature is disabled"; 135 return "Feature is disabled";
136 case kCannotAddBreakpoint: 136 case kCannotAddBreakpoint:
137 return "Cannot add breakpoint"; 137 return "Cannot add breakpoint";
138 case kIsolateMustBeRunnable: 138 case kIsolateMustBeRunnable:
139 return "Isolate must be runnable"; 139 return "Isolate must be runnable";
140 case kIsolateMustBePaused: 140 case kIsolateMustBePaused:
141 return "Isolate must be paused"; 141 return "Isolate must be paused";
142 case kCannotResume:
143 return "Cannot resume execution";
144 case kIsolateIsReloading: 142 case kIsolateIsReloading:
145 return "Isolate is reloading"; 143 return "Isolate is reloading";
146 case kFileSystemAlreadyExists: 144 case kFileSystemAlreadyExists:
147 return "File system already exists"; 145 return "File system already exists";
148 case kFileSystemDoesNotExist: 146 case kFileSystemDoesNotExist:
149 return "File system does not exist"; 147 return "File system does not exist";
150 case kFileDoesNotExist: 148 case kFileDoesNotExist:
151 return "File does not exist"; 149 return "File does not exist";
152 case kIsolateReloadFailed: 150 case kIsolateReloadFailed:
153 return "Isolate reload failed"; 151 return "Isolate reload failed";
(...skipping 831 matching lines...) Expand 10 before | Expand all | Expand 10 after
985 ASSERT(len == len2); 983 ASSERT(len == len2);
986 stream_->buffer_.AddChar('"'); 984 stream_->buffer_.AddChar('"');
987 stream_->AddEscapedUTF8String(p); 985 stream_->AddEscapedUTF8String(p);
988 stream_->buffer_.AddChar('"'); 986 stream_->buffer_.AddChar('"');
989 free(p); 987 free(p);
990 } 988 }
991 989
992 #endif // !PRODUCT 990 #endif // !PRODUCT
993 991
994 } // namespace dart 992 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/json_stream.h ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698