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

Unified Diff: runtime/vm/debugger.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/observatory/tests/service/test_helper.dart ('k') | runtime/vm/debugger.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/debugger.h
diff --git a/runtime/vm/debugger.h b/runtime/vm/debugger.h
index 79a620c7bcee6ee9f74c367b1ae5e966357e38da..15893d19966d39c5ef8986a2a07f4d08d446d0b6 100644
--- a/runtime/vm/debugger.h
+++ b/runtime/vm/debugger.h
@@ -354,7 +354,8 @@ class DebuggerEvent {
top_frame_(NULL),
breakpoint_(NULL),
exception_(NULL),
- async_continuation_(NULL) {}
+ async_continuation_(NULL),
+ at_async_jump_(false) {}
Isolate* isolate() const { return isolate_; }
@@ -402,6 +403,13 @@ class DebuggerEvent {
async_continuation_ = closure;
}
+ bool at_async_jump() const {
+ return at_async_jump_;
+ }
+ void set_at_async_jump(bool value) {
+ at_async_jump_ = value;
+ }
+
Dart_Port isolate_id() const {
return isolate_->main_port();
}
@@ -413,6 +421,7 @@ class DebuggerEvent {
Breakpoint* breakpoint_;
const Object* exception_;
const Object* async_continuation_;
+ bool at_async_jump_;
};
« no previous file with comments | « runtime/observatory/tests/service/test_helper.dart ('k') | runtime/vm/debugger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698