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

Unified Diff: runtime/vm/service_event.h

Issue 1299083002: Automagically change the meaning of 'next' to 'async-next' when paused at an async function at awai… (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 4 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/debugger.cc ('k') | runtime/vm/service_event.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/service_event.h
diff --git a/runtime/vm/service_event.h b/runtime/vm/service_event.h
index 6ebc2118b5e06106e4f2ced7707c13b1240ef944..80c3b697bc1165ccecc1d1ae6a9b43840315d9db 100644
--- a/runtime/vm/service_event.h
+++ b/runtime/vm/service_event.h
@@ -59,6 +59,7 @@ class ServiceEvent {
top_frame_(NULL),
exception_(NULL),
async_continuation_(NULL),
+ at_async_jump_(false),
inspectee_(NULL),
gc_stats_(NULL),
bytes_(NULL),
@@ -122,6 +123,13 @@ class ServiceEvent {
async_continuation_ = closure;
}
+ bool at_async_jump() const {
+ return at_async_jump_;
+ }
+ void set_at_async_jump(bool value) {
+ at_async_jump_ = value;
+ }
+
const Object* inspectee() const {
return inspectee_;
}
@@ -168,6 +176,7 @@ class ServiceEvent {
ActivationFrame* top_frame_;
const Object* exception_;
const Object* async_continuation_;
+ bool at_async_jump_;
const Object* inspectee_;
const Heap::GCStats* gc_stats_;
const uint8_t* bytes_;
« no previous file with comments | « runtime/vm/debugger.cc ('k') | runtime/vm/service_event.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698