| OLD | NEW |
| 1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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_V8DEBUGGERAGENTIMPL_H_ | 5 #ifndef V8_INSPECTOR_V8DEBUGGERAGENTIMPL_H_ |
| 6 #define V8_INSPECTOR_V8DEBUGGERAGENTIMPL_H_ | 6 #define V8_INSPECTOR_V8DEBUGGERAGENTIMPL_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "src/base/macros.h" | 10 #include "src/base/macros.h" |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 V8InspectorSessionImpl* m_session; | 184 V8InspectorSessionImpl* m_session; |
| 185 bool m_enabled; | 185 bool m_enabled; |
| 186 protocol::DictionaryValue* m_state; | 186 protocol::DictionaryValue* m_state; |
| 187 protocol::Debugger::Frontend m_frontend; | 187 protocol::Debugger::Frontend m_frontend; |
| 188 v8::Isolate* m_isolate; | 188 v8::Isolate* m_isolate; |
| 189 JavaScriptCallFrames m_pausedCallFrames; | 189 JavaScriptCallFrames m_pausedCallFrames; |
| 190 ScriptsMap m_scripts; | 190 ScriptsMap m_scripts; |
| 191 BreakpointIdToDebuggerBreakpointIdsMap m_breakpointIdToDebuggerBreakpointIds; | 191 BreakpointIdToDebuggerBreakpointIdsMap m_breakpointIdToDebuggerBreakpointIds; |
| 192 DebugServerBreakpointToBreakpointIdAndSourceMap m_serverBreakpoints; | 192 DebugServerBreakpointToBreakpointIdAndSourceMap m_serverBreakpoints; |
| 193 String16 m_continueToLocationBreakpointId; | 193 String16 m_continueToLocationBreakpointId; |
| 194 String16 m_breakReason; | 194 |
| 195 std::unique_ptr<protocol::DictionaryValue> m_breakAuxData; | 195 using BreakReason = |
| 196 std::pair<String16, std::unique_ptr<protocol::DictionaryValue>>; |
| 197 std::vector<BreakReason> m_breakReason; |
| 198 |
| 199 void pushBreakDetails( |
| 200 const String16& breakReason, |
| 201 std::unique_ptr<protocol::DictionaryValue> breakAuxData); |
| 202 void popBreakDetails(); |
| 203 |
| 196 DebuggerStep m_scheduledDebuggerStep; | 204 DebuggerStep m_scheduledDebuggerStep; |
| 197 bool m_javaScriptPauseScheduled; | 205 bool m_javaScriptPauseScheduled; |
| 198 | 206 |
| 199 int m_recursionLevelForStepOut; | 207 int m_recursionLevelForStepOut; |
| 200 bool m_skipAllPauses = false; | 208 bool m_skipAllPauses = false; |
| 201 | 209 |
| 202 std::unique_ptr<V8Regex> m_blackboxPattern; | 210 std::unique_ptr<V8Regex> m_blackboxPattern; |
| 203 protocol::HashMap<String16, std::vector<std::pair<int, int>>> | 211 protocol::HashMap<String16, std::vector<std::pair<int, int>>> |
| 204 m_blackboxedPositions; | 212 m_blackboxedPositions; |
| 205 | 213 |
| 206 DISALLOW_COPY_AND_ASSIGN(V8DebuggerAgentImpl); | 214 DISALLOW_COPY_AND_ASSIGN(V8DebuggerAgentImpl); |
| 207 }; | 215 }; |
| 208 | 216 |
| 209 } // namespace v8_inspector | 217 } // namespace v8_inspector |
| 210 | 218 |
| 211 #endif // V8_INSPECTOR_V8DEBUGGERAGENTIMPL_H_ | 219 #endif // V8_INSPECTOR_V8DEBUGGERAGENTIMPL_H_ |
| OLD | NEW |