| 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 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 V8Debugger* m_debugger; | 177 V8Debugger* m_debugger; |
| 178 V8InspectorSessionImpl* m_session; | 178 V8InspectorSessionImpl* m_session; |
| 179 bool m_enabled; | 179 bool m_enabled; |
| 180 protocol::DictionaryValue* m_state; | 180 protocol::DictionaryValue* m_state; |
| 181 protocol::Debugger::Frontend m_frontend; | 181 protocol::Debugger::Frontend m_frontend; |
| 182 v8::Isolate* m_isolate; | 182 v8::Isolate* m_isolate; |
| 183 JavaScriptCallFrames m_pausedCallFrames; | 183 JavaScriptCallFrames m_pausedCallFrames; |
| 184 ScriptsMap m_scripts; | 184 ScriptsMap m_scripts; |
| 185 BreakpointIdToDebuggerBreakpointIdsMap m_breakpointIdToDebuggerBreakpointIds; | 185 BreakpointIdToDebuggerBreakpointIdsMap m_breakpointIdToDebuggerBreakpointIds; |
| 186 DebugServerBreakpointToBreakpointIdAndSourceMap m_serverBreakpoints; | 186 DebugServerBreakpointToBreakpointIdAndSourceMap m_serverBreakpoints; |
| 187 String16 m_continueToLocationBreakpointId; | |
| 188 | 187 |
| 189 using BreakReason = | 188 using BreakReason = |
| 190 std::pair<String16, std::unique_ptr<protocol::DictionaryValue>>; | 189 std::pair<String16, std::unique_ptr<protocol::DictionaryValue>>; |
| 191 std::vector<BreakReason> m_breakReason; | 190 std::vector<BreakReason> m_breakReason; |
| 192 | 191 |
| 193 void pushBreakDetails( | 192 void pushBreakDetails( |
| 194 const String16& breakReason, | 193 const String16& breakReason, |
| 195 std::unique_ptr<protocol::DictionaryValue> breakAuxData); | 194 std::unique_ptr<protocol::DictionaryValue> breakAuxData); |
| 196 void popBreakDetails(); | 195 void popBreakDetails(); |
| 197 | 196 |
| 198 bool m_skipAllPauses = false; | 197 bool m_skipAllPauses = false; |
| 199 | 198 |
| 200 std::unique_ptr<V8Regex> m_blackboxPattern; | 199 std::unique_ptr<V8Regex> m_blackboxPattern; |
| 201 protocol::HashMap<String16, std::vector<std::pair<int, int>>> | 200 protocol::HashMap<String16, std::vector<std::pair<int, int>>> |
| 202 m_blackboxedPositions; | 201 m_blackboxedPositions; |
| 203 | 202 |
| 204 DISALLOW_COPY_AND_ASSIGN(V8DebuggerAgentImpl); | 203 DISALLOW_COPY_AND_ASSIGN(V8DebuggerAgentImpl); |
| 205 }; | 204 }; |
| 206 | 205 |
| 207 } // namespace v8_inspector | 206 } // namespace v8_inspector |
| 208 | 207 |
| 209 #endif // V8_INSPECTOR_V8DEBUGGERAGENTIMPL_H_ | 208 #endif // V8_INSPECTOR_V8DEBUGGERAGENTIMPL_H_ |
| OLD | NEW |