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

Unified Diff: src/debug/debug.h

Issue 2758483002: [debugger] tuned StepNext and StepOut at return position (Closed)
Patch Set: addressed comments 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') | test/inspector/protocol-test.js » ('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..e5a61d99933e5f3bde44f8fe50ac9234cee8ff7e 100644
--- a/src/debug/debug.h
+++ b/src/debug/debug.h
@@ -490,7 +490,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 +566,12 @@ class Debug {
// Step action for last step performed.
StepAction last_step_action_;
+ // If set then this function will be ignored in PrepareStepIn call.
dgozman 2017/03/21 23:33:21 If set, next PrepareStepIn will ignore this functi
kozy 2017/03/22 17:19:53 Done.
+ Object* ignore_step_into_function_;
+
+ // If set then we need to repeat StepOut action at return.
+ bool fast_forward_to_return_;
+
// 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') | test/inspector/protocol-test.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698