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

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

Issue 2884613004: [inspector] added in-deeper-frame continue-to-location strategy
Patch Set: rebased 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
« no previous file with comments | « src/inspector/js_protocol.json ('k') | src/inspector/v8-stack-trace-impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/inspector/v8-debugger.cc
diff --git a/src/inspector/v8-debugger.cc b/src/inspector/v8-debugger.cc
index 86a48401a65107d85e9e11dee827088eb15ba987..c84154ba779aa9c6902020e76b205f5e3368d588 100644
--- a/src/inspector/v8-debugger.cc
+++ b/src/inspector/v8-debugger.cc
@@ -452,6 +452,11 @@ bool V8Debugger::shouldContinueToCurrentLocation() {
protocol::Debugger::ContinueToLocation::TargetCallFramesEnum::Current) {
return m_continueToLocationStack->isEqualIgnoringTopFrame(
currentStack.get());
+ } else {
+ DCHECK(
+ m_continueToLocationStrategy ==
+ protocol::Debugger::ContinueToLocation::TargetCallFramesEnum::Deeper);
+ return m_continueToLocationStack->isPrefix(currentStack.get());
}
return true;
}
« no previous file with comments | « src/inspector/js_protocol.json ('k') | src/inspector/v8-stack-trace-impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698