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

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

Issue 2523053002: Implement rewind: drop one or more frames from the debugger. (Closed)
Patch Set: code review 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";
142 case kIsolateIsReloading: 144 case kIsolateIsReloading:
143 return "Isolate is reloading"; 145 return "Isolate is reloading";
144 case kFileSystemAlreadyExists: 146 case kFileSystemAlreadyExists:
145 return "File system already exists"; 147 return "File system already exists";
146 case kFileSystemDoesNotExist: 148 case kFileSystemDoesNotExist:
147 return "File system does not exist"; 149 return "File system does not exist";
148 case kFileDoesNotExist: 150 case kFileDoesNotExist:
149 return "File does not exist"; 151 return "File does not exist";
150 case kIsolateReloadFailed: 152 case kIsolateReloadFailed:
151 return "Isolate reload failed"; 153 return "Isolate reload failed";
(...skipping 831 matching lines...) Expand 10 before | Expand all | Expand 10 after
983 ASSERT(len == len2); 985 ASSERT(len == len2);
984 stream_->buffer_.AddChar('"'); 986 stream_->buffer_.AddChar('"');
985 stream_->AddEscapedUTF8String(p); 987 stream_->AddEscapedUTF8String(p);
986 stream_->buffer_.AddChar('"'); 988 stream_->buffer_.AddChar('"');
987 free(p); 989 free(p);
988 } 990 }
989 991
990 #endif // !PRODUCT 992 #endif // !PRODUCT
991 993
992 } // namespace dart 994 } // 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