Chromium Code Reviews| 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; |