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

Side by Side Diff: runtime/vm/service_event.h

Issue 1699153002: Add step OverAwait to service protocol (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 #ifndef VM_SERVICE_EVENT_H_ 5 #ifndef VM_SERVICE_EVENT_H_
6 #define VM_SERVICE_EVENT_H_ 6 #define VM_SERVICE_EVENT_H_
7 7
8 #include "vm/debugger.h" 8 #include "vm/debugger.h"
9 9
10 class DebuggerEvent; 10 class DebuggerEvent;
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 } 127 }
128 128
129 const Object* exception() const { 129 const Object* exception() const {
130 return exception_; 130 return exception_;
131 } 131 }
132 void set_exception(const Object* exception) { 132 void set_exception(const Object* exception) {
133 ASSERT(kind_ == kPauseException); 133 ASSERT(kind_ == kPauseException);
134 exception_ = exception; 134 exception_ = exception;
135 } 135 }
136 136
137 const Object* async_continuation() const {
138 return async_continuation_;
139 }
140 void set_async_continuation(const Object* closure) {
141 ASSERT(kind_ == kPauseBreakpoint);
142 async_continuation_ = closure;
143 }
144
145 bool at_async_jump() const { 137 bool at_async_jump() const {
146 return at_async_jump_; 138 return at_async_jump_;
147 } 139 }
148 void set_at_async_jump(bool value) { 140 void set_at_async_jump(bool value) {
149 at_async_jump_ = value; 141 at_async_jump_ = value;
150 } 142 }
151 143
152 const Object* inspectee() const { 144 const Object* inspectee() const {
153 return inspectee_; 145 return inspectee_;
154 } 146 }
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 188
197 private: 189 private:
198 Isolate* isolate_; 190 Isolate* isolate_;
199 EventKind kind_; 191 EventKind kind_;
200 const char* embedder_kind_; 192 const char* embedder_kind_;
201 const char* embedder_stream_id_; 193 const char* embedder_stream_id_;
202 Breakpoint* breakpoint_; 194 Breakpoint* breakpoint_;
203 ActivationFrame* top_frame_; 195 ActivationFrame* top_frame_;
204 const String* extension_rpc_; 196 const String* extension_rpc_;
205 const Object* exception_; 197 const Object* exception_;
206 const Object* async_continuation_;
207 bool at_async_jump_; 198 bool at_async_jump_;
208 const Object* inspectee_; 199 const Object* inspectee_;
209 const Heap::GCStats* gc_stats_; 200 const Heap::GCStats* gc_stats_;
210 const uint8_t* bytes_; 201 const uint8_t* bytes_;
211 intptr_t bytes_length_; 202 intptr_t bytes_length_;
212 LogRecord log_record_; 203 LogRecord log_record_;
213 ExtensionEvent extension_event_; 204 ExtensionEvent extension_event_;
214 int64_t timestamp_; 205 int64_t timestamp_;
215 }; 206 };
216 207
217 } // namespace dart 208 } // namespace dart
218 209
219 #endif // VM_SERVICE_EVENT_H_ 210 #endif // VM_SERVICE_EVENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698