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

Unified Diff: runtime/vm/debugger.h

Issue 805573003: Fix debugging of async code (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | 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
===================================================================
--- runtime/vm/debugger.h (revision 42362)
+++ runtime/vm/debugger.h (working copy)
@@ -48,6 +48,9 @@
bool IsEnabled() const { return is_enabled_; }
bool IsResolved() const { return is_resolved_; }
+ bool IsOneShot() const { return is_one_shot_; }
+ void SetIsOneShot() { is_one_shot_ = true; }
+
void PrintJSON(JSONStream* stream);
private:
@@ -63,6 +66,7 @@
intptr_t end_token_pos_;
bool is_resolved_;
bool is_enabled_;
+ bool is_one_shot_;
SourceBreakpoint* next_;
// Valid for resolved breakpoints:
@@ -453,7 +457,6 @@
intptr_t requested_token_pos,
intptr_t last_token_pos);
void DeoptimizeWorld();
- RawError* SetInternalBreakpoints(const Function& target_function);
SourceBreakpoint* SetBreakpoint(const Script& script,
intptr_t token_pos,
intptr_t last_token_pos);
« no previous file with comments | « no previous file | runtime/vm/debugger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698