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

Unified Diff: runtime/vm/debugger.h

Issue 10442088: Bigger stepping granularity in debugging (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 7 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
Index: runtime/vm/debugger.h
===================================================================
--- runtime/vm/debugger.h (revision 8117)
+++ runtime/vm/debugger.h (working copy)
@@ -266,7 +266,7 @@
SourceBreakpoint* SetBreakpoint(const Function& target_function,
intptr_t token_index);
void RemoveInternalBreakpoints();
- void RemoveCodeBreakpoints(SourceBreakpoint* src_bpt);
+ void UnlinkCodeBreakpoints(SourceBreakpoint* src_bpt);
void RegisterSourceBreakpoint(SourceBreakpoint* bpt);
void RegisterCodeBreakpoint(CodeBreakpoint* bpt);
SourceBreakpoint* GetSourceBreakpoint(const Function& func,
@@ -281,6 +281,8 @@
void SignalBpResolved(SourceBreakpoint *bpt);
+ bool IsDebuggable(const Function& func);
+
intptr_t nextId() { return next_id_++; }
Isolate* isolate_;
@@ -302,6 +304,10 @@
// Tells debugger what to do when resuming execution after a breakpoint.
ResumeAction resume_action_;
+ // If >= 0, last_bpt_line contains the line number of the last breakpoint
+ // location for which the breakpoint callback function was called.
+ intptr_t last_bpt_line_;
+
// 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.
« no previous file with comments | « runtime/vm/dart_api_impl.cc ('k') | runtime/vm/debugger.cc » ('j') | runtime/vm/debugger.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698