Index: src/inspector/v8-debugger.h |
diff --git a/src/inspector/v8-debugger.h b/src/inspector/v8-debugger.h |
index b5e110ea32f3d73c4ab9f1cb13e16cb6c22b7af0..f8eff17fcfeed9c5f693288ace2048f08d61df77 100644 |
--- a/src/inspector/v8-debugger.h |
+++ b/src/inspector/v8-debugger.h |
@@ -133,6 +133,7 @@ class V8Debugger : public v8::debug::DebugDelegate { |
v8::Local<v8::Value>); |
void asyncTaskCreated(void* task, void* parentTask); |
+ void registerAsyncTaskIfNeeded(void* task); |
// v8::debug::DebugEventListener implementation. |
void PromiseEventOccurred(v8::debug::PromiseDebugActionType type, int id, |
@@ -165,6 +166,7 @@ class V8Debugger : public v8::debug::DebugDelegate { |
using AsyncTaskToStackTrace = |
protocol::HashMap<void*, std::unique_ptr<V8StackTraceImpl>>; |
AsyncTaskToStackTrace m_asyncTaskStacks; |
+ AsyncTaskToStackTrace m_asyncTaskCreationStacks; |
int m_maxAsyncCallStacks; |
std::map<int, void*> m_idToTask; |
std::unordered_map<void*, int> m_taskToId; |