Chromium Code Reviews| 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> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "src/base/macros.h" | 10 #include "src/base/macros.h" |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 143 v8::Global<v8::Object> m_debuggerScript; | 143 v8::Global<v8::Object> m_debuggerScript; |
| 144 v8::Global<v8::Context> m_debuggerContext; | 144 v8::Global<v8::Context> m_debuggerContext; |
| 145 v8::Local<v8::Object> m_executionState; | 145 v8::Local<v8::Object> m_executionState; |
| 146 v8::Local<v8::Context> m_pausedContext; | 146 v8::Local<v8::Context> m_pausedContext; |
| 147 bool m_runningNestedMessageLoop; | 147 bool m_runningNestedMessageLoop; |
| 148 int m_ignoreScriptParsedEventsCounter; | 148 int m_ignoreScriptParsedEventsCounter; |
| 149 | 149 |
| 150 using AsyncTaskToStackTrace = | 150 using AsyncTaskToStackTrace = |
| 151 protocol::HashMap<void*, std::unique_ptr<V8StackTraceImpl>>; | 151 protocol::HashMap<void*, std::unique_ptr<V8StackTraceImpl>>; |
| 152 AsyncTaskToStackTrace m_asyncTaskStacks; | 152 AsyncTaskToStackTrace m_asyncTaskStacks; |
| 153 std::map<int, void*> m_idToRawId; | |
|
dgozman
2016/12/16 23:59:49
m_idToTask
kozy
2016/12/17 01:12:41
Done.
| |
| 154 std::unordered_map<void*, int> m_rawIdToId; | |
|
dgozman
2016/12/16 23:59:49
m_taskToId
kozy
2016/12/17 01:12:41
Done.
| |
| 155 int m_lastId; | |
|
dgozman
2016/12/16 23:59:49
m_lastTaskId
kozy
2016/12/17 01:12:41
Done.
| |
| 153 protocol::HashSet<void*> m_recurringTasks; | 156 protocol::HashSet<void*> m_recurringTasks; |
| 154 int m_maxAsyncCallStackDepth; | 157 int m_maxAsyncCallStackDepth; |
| 155 std::vector<void*> m_currentTasks; | 158 std::vector<void*> m_currentTasks; |
| 156 std::vector<std::unique_ptr<V8StackTraceImpl>> m_currentStacks; | 159 std::vector<std::unique_ptr<V8StackTraceImpl>> m_currentStacks; |
| 157 protocol::HashMap<V8DebuggerAgentImpl*, int> m_maxAsyncCallStackDepthMap; | 160 protocol::HashMap<V8DebuggerAgentImpl*, int> m_maxAsyncCallStackDepthMap; |
| 158 | 161 |
| 159 v8::debug::ExceptionBreakState m_pauseOnExceptionsState; | 162 v8::debug::ExceptionBreakState m_pauseOnExceptionsState; |
| 160 | 163 |
| 161 WasmTranslation m_wasmTranslation; | 164 WasmTranslation m_wasmTranslation; |
| 162 | 165 |
| 163 DISALLOW_COPY_AND_ASSIGN(V8Debugger); | 166 DISALLOW_COPY_AND_ASSIGN(V8Debugger); |
| 164 }; | 167 }; |
| 165 | 168 |
| 166 } // namespace v8_inspector | 169 } // namespace v8_inspector |
| 167 | 170 |
| 168 #endif // V8_INSPECTOR_V8DEBUGGER_H_ | 171 #endif // V8_INSPECTOR_V8DEBUGGER_H_ |
| OLD | NEW |