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

Unified Diff: src/debug/debug.cc

Issue 2748503002: [inspector] changed a way of preserving stepping between tasks (Closed)
Patch Set: removed willExecuteScript from 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
Index: src/debug/debug.cc
diff --git a/src/debug/debug.cc b/src/debug/debug.cc
index 032715bc41d98e00baf11aa4be3ef002779b6e3f..b6bc7543152b63d85ce77bc6361f90ee453f1839 100644
--- a/src/debug/debug.cc
+++ b/src/debug/debug.cc
@@ -2079,6 +2079,14 @@ void Debug::SetDebugDelegate(debug::DebugDelegate* delegate,
UpdateState();
}
+void Debug::HandleCallCompleted() {
+ if (thread_local_.last_step_action_ == StepOut) {
+ ClearStepping();
+ thread_local_.last_step_action_ = StepIn;
+ UpdateHookOnFunctionCall();
+ }
+}
+
void Debug::RemoveDebugDelegate() {
if (debug_delegate_ == nullptr) return;
if (owns_debug_delegate_) {
« no previous file with comments | « src/debug/debug.h ('k') | src/inspector/v8-debugger.h » ('j') | src/inspector/v8-debugger.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698