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

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

Issue 2879923003: [inspector] added targetCallFrames for continueToLocation (Closed)
Patch Set: added a test 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-agent-impl.cc
diff --git a/src/inspector/v8-debugger-agent-impl.cc b/src/inspector/v8-debugger-agent-impl.cc
index 9e276539f0021a987ecf9d1d942a74ca91ea4abf..1794e27ed9fb0eece16e1497ce1b799043faf7fd 100644
--- a/src/inspector/v8-debugger-agent-impl.cc
+++ b/src/inspector/v8-debugger-agent-impl.cc
@@ -483,11 +483,14 @@ Response V8DebuggerAgentImpl::getPossibleBreakpoints(
}
Response V8DebuggerAgentImpl::continueToLocation(
- std::unique_ptr<protocol::Debugger::Location> location) {
+ std::unique_ptr<protocol::Debugger::Location> location,
+ Maybe<String16> strategy) {
if (!enabled()) return Response::Error(kDebuggerNotEnabled);
if (!isPaused()) return Response::Error(kDebuggerNotPaused);
- return m_debugger->continueToLocation(m_session->contextGroupId(),
- std::move(location));
+ return m_debugger->continueToLocation(
+ m_session->contextGroupId(), std::move(location),
+ strategy.fromMaybe(
+ protocol::Debugger::ContinueToLocation::StrategyEnum::Default));
}
bool V8DebuggerAgentImpl::isFunctionBlackboxed(const String16& scriptId,

Powered by Google App Engine
This is Rietveld 408576698