Index: src/inspector/v8-debugger.h |
diff --git a/src/inspector/v8-debugger.h b/src/inspector/v8-debugger.h |
index 0c34cb0e35f5be7635b95f7a2f8dd284d597a03b..02a42cb8fdbddc6a24de8843ae325d686a5a249f 100644 |
--- a/src/inspector/v8-debugger.h |
+++ b/src/inspector/v8-debugger.h |
@@ -23,6 +23,7 @@ namespace v8_inspector { |
class AsyncStackTrace; |
struct ScriptBreakpoint; |
+class StackFrame; |
class V8Debugger; |
class V8DebuggerAgentImpl; |
class V8InspectorImpl; |
@@ -85,6 +86,8 @@ class V8Debugger : public v8::debug::DebugDelegate { |
std::shared_ptr<AsyncStackTrace> currentAsyncParent(); |
std::shared_ptr<AsyncStackTrace> currentAsyncCreation(); |
+ std::shared_ptr<StackFrame> symbolize(v8::Local<v8::StackFrame> v8Frame); |
+ |
std::unique_ptr<V8StackTraceImpl> createStackTrace(v8::Local<v8::StackTrace>); |
std::unique_ptr<V8StackTraceImpl> captureStackTrace(bool fullStack); |
@@ -202,6 +205,7 @@ class V8Debugger : public v8::debug::DebugDelegate { |
// V8Debugger owns all the async stacks, while most of the other references |
// are weak, which allows to collect some stacks when there are too many. |
std::list<std::shared_ptr<AsyncStackTrace>> m_allAsyncStacks; |
+ std::map<int, std::weak_ptr<StackFrame>> m_framesCache; |
protocol::HashMap<V8DebuggerAgentImpl*, int> m_maxAsyncCallStackDepthMap; |
void* m_taskWithScheduledBreak = nullptr; |