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

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

Issue 2879923003: [inspector] added targetCallFrames for continueToLocation (Closed)
Patch Set: ac 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-debugger.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/inspector/v8-debugger.h
diff --git a/src/inspector/v8-debugger.h b/src/inspector/v8-debugger.h
index e85e61f9556b9bcae3d54c703c3ae32a84160cbf..a15c288c0df41ecf9a22b76a209725db0ba41cad 100644
--- a/src/inspector/v8-debugger.h
+++ b/src/inspector/v8-debugger.h
@@ -62,7 +62,8 @@ class V8Debugger : public v8::debug::DebugDelegate {
int targetContextGroupId);
Response continueToLocation(int targetContextGroupId,
- std::unique_ptr<protocol::Debugger::Location>);
+ std::unique_ptr<protocol::Debugger::Location>,
+ const String16& targetCallFramess);
Response setScriptSource(
const String16& sourceID, v8::Local<v8::String> newSource, bool dryRun,
@@ -123,6 +124,7 @@ class V8Debugger : public v8::debug::DebugDelegate {
v8::Local<v8::Context> debuggerContext() const;
void clearBreakpoints();
void clearContinueToLocation();
+ bool shouldContinueToCurrentLocation();
static void v8OOMCallback(void* data);
@@ -189,6 +191,8 @@ class V8Debugger : public v8::debug::DebugDelegate {
int m_targetContextGroupId = 0;
int m_pausedContextGroupId = 0;
String16 m_continueToLocationBreakpointId;
+ String16 m_continueToLocationTargetCallFrames;
+ std::unique_ptr<V8StackTraceImpl> m_continueToLocationStack;
using AsyncTaskToStackTrace =
protocol::HashMap<void*, std::weak_ptr<AsyncStackTrace>>;
« no previous file with comments | « src/inspector/js_protocol.json ('k') | src/inspector/v8-debugger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698