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

Unified Diff: runtime/vm/debugger.h

Issue 9668036: Teach debugger to ignore breakpoints (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 9 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 | « no previous file | runtime/vm/debugger.cc » ('j') | runtime/vm/debugger.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/debugger.h
===================================================================
--- runtime/vm/debugger.h (revision 5243)
+++ runtime/vm/debugger.h (working copy)
@@ -262,6 +262,11 @@
// Tells debugger what to do when resuming execution after a breakpoint.
ResumeAction resume_action_;
+ // Do not call back to breakpoint handler if this flag is set.
+ // Effectively this means ignoring breakpoints. Set when Dart code may
+ // be run as a side effect of getting values of fields.
+ bool ignore_breakpoints_;
+
friend class SourceBreakpoint;
DISALLOW_COPY_AND_ASSIGN(Debugger);
};
« no previous file with comments | « no previous file | runtime/vm/debugger.cc » ('j') | runtime/vm/debugger.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698