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 std::vector<String16> m_breakReason; |
pfeldman
2017/02/07 19:01:05
typedef a pair for reason + auxdata
kozy
2017/02/07 22:54:36
Done.
| |
196 std::vector<std::unique_ptr<protocol::DictionaryValue>> m_breakAuxData; | |
197 | |
198 void pushBreakDetails( | |
199 const String16& breakReason, | |
200 std::unique_ptr<protocol::DictionaryValue> breakAuxData); | |
201 void popBreakDetails(); | |
202 | |
196 DebuggerStep m_scheduledDebuggerStep; | 203 DebuggerStep m_scheduledDebuggerStep; |
197 bool m_javaScriptPauseScheduled; | 204 bool m_javaScriptPauseScheduled; |
198 | 205 |
199 int m_recursionLevelForStepOut; | 206 int m_recursionLevelForStepOut; |
200 bool m_skipAllPauses = false; | 207 bool m_skipAllPauses = false; |
201 | 208 |
202 std::unique_ptr<V8Regex> m_blackboxPattern; | 209 std::unique_ptr<V8Regex> m_blackboxPattern; |
203 protocol::HashMap<String16, std::vector<std::pair<int, int>>> | 210 protocol::HashMap<String16, std::vector<std::pair<int, int>>> |
204 m_blackboxedPositions; | 211 m_blackboxedPositions; |
205 | 212 |
206 DISALLOW_COPY_AND_ASSIGN(V8DebuggerAgentImpl); | 213 DISALLOW_COPY_AND_ASSIGN(V8DebuggerAgentImpl); |
207 }; | 214 }; |
208 | 215 |
209 } // namespace v8_inspector | 216 } // namespace v8_inspector |
210 | 217 |
211 #endif // V8_INSPECTOR_V8DEBUGGERAGENTIMPL_H_ | 218 #endif // V8_INSPECTOR_V8DEBUGGERAGENTIMPL_H_ |
OLD | NEW |