Index: src/debug/debug.h |
diff --git a/src/debug/debug.h b/src/debug/debug.h |
index 34b4fe2c2cf66cac9cb52de519616df1abf2009e..dadafd267f5d8c17b512b000f2be5bed06ff366a 100644 |
--- a/src/debug/debug.h |
+++ b/src/debug/debug.h |
@@ -429,6 +429,9 @@ class Debug { |
} |
StepAction last_step_action() { return thread_local_.last_step_action_; } |
+ bool step_into_function_call_requested() { |
+ return thread_local_.step_into_function_call_requested_; |
+ } |
DebugFeatureTracker* feature_tracker() { return &feature_tracker_; } |
@@ -490,7 +493,8 @@ class Debug { |
// Clear all code from instrumentation. |
void ClearAllBreakPoints(); |
// Instrument a function with one-shots. |
- void FloodWithOneShot(Handle<SharedFunctionInfo> function); |
+ void FloodWithOneShot(Handle<SharedFunctionInfo> function, |
+ bool returns_only = false); |
// Clear all one-shot instrumentations, but restore break points. |
void ClearOneShot(); |
@@ -565,6 +569,15 @@ class Debug { |
// Step action for last step performed. |
StepAction last_step_action_; |
+ // If set then this function will be ignored in PrepareStepIn call. |
+ Object* ignore_step_into_function_; |
+ |
+ // If set then next stepping break will be ignored. |
+ bool ignore_next_stepping_break_; |
+ |
+ // If set then PrepapreStepIn will be called for each function call. |
+ bool step_into_function_call_requested_; |
+ |
// Source statement position from last step next action. |
int last_statement_position_; |