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

Unified Diff: src/inspector/v8-debugger.cc

Issue 2879923003: [inspector] added targetCallFrames for continueToLocation (Closed)
Patch Set: Created 3 years, 7 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/inspector/v8-debugger.cc
diff --git a/src/inspector/v8-debugger.cc b/src/inspector/v8-debugger.cc
index a65cc738e34f2acc4e3f3fae9dc9acb847a1bac4..3adbc1d5e0c123c4f47ecb82b10fadd2c2940330 100644
--- a/src/inspector/v8-debugger.cc
+++ b/src/inspector/v8-debugger.cc
@@ -566,6 +566,10 @@ void V8Debugger::handleProgramBreak(v8::Local<v8::Context> pausedContext,
breakpointIds.push_back(String16::fromInteger(
hitBreakpointNumber->Int32Value(debuggerContext()).FromJust()));
}
+ if (breakpointIds.size() == 1) {
dgozman 2017/05/15 17:01:26 Should we mark "continue to location" breakpoint s
kozy 2017/05/16 01:43:48 Done.
+ v8::Context::Scope contextScope(pausedContext);
+ if (agent->shouldIgnoreContinueToLocation(breakpointIds[0])) return;
+ }
}
m_pausedContext = pausedContext;

Powered by Google App Engine
This is Rietveld 408576698