OLD | NEW |
1 // Copyright 2016 the V8 project authors. All rights reserved. | 1 // Copyright 2016 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_INSPECTOR_V8DEBUGGER_H_ | 5 #ifndef V8_INSPECTOR_V8DEBUGGER_H_ |
6 #define V8_INSPECTOR_V8DEBUGGER_H_ | 6 #define V8_INSPECTOR_V8DEBUGGER_H_ |
7 | 7 |
| 8 #include <vector> |
| 9 |
8 #include "src/inspector/Allocator.h" | 10 #include "src/inspector/Allocator.h" |
9 #include "src/inspector/JavaScriptCallFrame.h" | 11 #include "src/inspector/JavaScriptCallFrame.h" |
10 #include "src/inspector/V8DebuggerScript.h" | 12 #include "src/inspector/V8DebuggerScript.h" |
11 #include "src/inspector/protocol/Forward.h" | 13 #include "src/inspector/protocol/Forward.h" |
12 #include "src/inspector/protocol/Runtime.h" | 14 #include "src/inspector/protocol/Runtime.h" |
13 | 15 |
14 #include "include/v8-debug.h" | 16 #include "include/v8-debug.h" |
15 #include "include/v8-inspector.h" | 17 #include "include/v8-inspector.h" |
16 | 18 |
17 #include <vector> | |
18 | |
19 namespace v8_inspector { | 19 namespace v8_inspector { |
20 | 20 |
21 struct ScriptBreakpoint; | 21 struct ScriptBreakpoint; |
22 class V8DebuggerAgentImpl; | 22 class V8DebuggerAgentImpl; |
23 class V8InspectorImpl; | 23 class V8InspectorImpl; |
24 class V8StackTraceImpl; | 24 class V8StackTraceImpl; |
25 | 25 |
26 using protocol::ErrorString; | 26 using protocol::ErrorString; |
27 | 27 |
28 class V8Debugger { | 28 class V8Debugger { |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 protocol::HashSet<void*> m_recurringTasks; | 149 protocol::HashSet<void*> m_recurringTasks; |
150 int m_maxAsyncCallStackDepth; | 150 int m_maxAsyncCallStackDepth; |
151 std::vector<void*> m_currentTasks; | 151 std::vector<void*> m_currentTasks; |
152 std::vector<std::unique_ptr<V8StackTraceImpl>> m_currentStacks; | 152 std::vector<std::unique_ptr<V8StackTraceImpl>> m_currentStacks; |
153 protocol::HashMap<V8DebuggerAgentImpl*, int> m_maxAsyncCallStackDepthMap; | 153 protocol::HashMap<V8DebuggerAgentImpl*, int> m_maxAsyncCallStackDepthMap; |
154 }; | 154 }; |
155 | 155 |
156 } // namespace v8_inspector | 156 } // namespace v8_inspector |
157 | 157 |
158 #endif // V8_INSPECTOR_V8DEBUGGER_H_ | 158 #endif // V8_INSPECTOR_V8DEBUGGER_H_ |
OLD | NEW |