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

Unified Diff: runtime/vm/debugger.h

Issue 149123003: Handle all debugger stepping with the isolate single step flag (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 11 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/code_generator.cc ('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
===================================================================
--- runtime/vm/debugger.h (revision 32072)
+++ runtime/vm/debugger.h (working copy)
@@ -362,7 +362,7 @@
const String& field_name);
void SignalBpReached();
- void SingleStepCallback();
+ void DebuggerStepCallback();
void SignalExceptionThrown(const Instance& exc);
static void SignalIsolateEvent(EventType type);
@@ -391,7 +391,7 @@
intptr_t ResolveBreakpointPos(const Function& func,
intptr_t requested_token_pos);
void DeoptimizeWorld();
- void InstrumentForStepping(const Function& target_function);
+ void SetInternalBreakpoints(const Function& target_function);
SourceBreakpoint* SetBreakpoint(const Script& script, intptr_t token_pos);
SourceBreakpoint* SetBreakpoint(const Function& target_function,
intptr_t first_token_pos,
@@ -471,6 +471,11 @@
// Current stack trace. Valid only while IsPaused().
DebuggerStackTrace* stack_trace_;
+ // When stepping through code, only pause the program if the top
+ // frame corresponds to this fp value, or if the top frame is
+ // lower on the stack.
+ uword stepping_fp_;
+
Dart_ExceptionPauseInfo exc_pause_info_;
static EventHandler* event_handler_;
« no previous file with comments | « runtime/vm/code_generator.cc ('k') | runtime/vm/debugger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698