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

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

Issue 2807273002: [inspector] store creation stack in current V8StackTraceImpl (Closed)
Patch Set: V8StackTraceImpl::buildInspectorObjectForTail is static Created 3 years, 8 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 | « no previous file | src/inspector/v8-debugger.cc » ('j') | src/inspector/v8-stack-trace-impl.cc » ('J')
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 435bfaabb3f6c609bbcecde3d7f0df87daaa1fc5..eaa04333add1b0239dfbd517593e03867004c4f4 100644
--- a/src/inspector/v8-debugger.h
+++ b/src/inspector/v8-debugger.h
@@ -77,6 +77,7 @@ class V8Debugger : public v8::debug::DebugDelegate {
int maxAsyncCallChainDepth() { return m_maxAsyncCallStackDepth; }
V8StackTraceImpl* currentAsyncCallChain();
+ V8StackTraceImpl* currentCreationStack();
dgozman 2017/04/11 19:00:42 currentAsyncTaskCreationStack
kozy 2017/04/12 02:21:38 Done.
void setAsyncCallStackDepth(V8DebuggerAgentImpl*, int);
std::unique_ptr<V8StackTraceImpl> createStackTrace(v8::Local<v8::StackTrace>);
std::unique_ptr<V8StackTraceImpl> captureStackTrace(bool fullStack);
@@ -189,6 +190,7 @@ class V8Debugger : public v8::debug::DebugDelegate {
int m_maxAsyncCallStackDepth;
std::vector<void*> m_currentTasks;
std::vector<std::unique_ptr<V8StackTraceImpl>> m_currentStacks;
+ std::vector<std::unique_ptr<V8StackTraceImpl>> m_currentCreationStacks;
protocol::HashMap<V8DebuggerAgentImpl*, int> m_maxAsyncCallStackDepthMap;
protocol::HashMap<void*, void*> m_parentTask;
protocol::HashMap<void*, void*> m_firstNextTask;
« no previous file with comments | « no previous file | src/inspector/v8-debugger.cc » ('j') | src/inspector/v8-stack-trace-impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698