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

Unified Diff: src/debug/debug.h

Issue 2758483002: [debugger] tuned StepNext and StepOut at return position (Closed)
Patch Set: more tests Created 3 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 | src/debug/debug.cc » ('j') | src/debug/debug.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « no previous file | src/debug/debug.cc » ('j') | src/debug/debug.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698