| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium 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 #include "platform/v8_inspector/V8DebuggerAgentImpl.h" | 5 #include "platform/v8_inspector/V8DebuggerAgentImpl.h" |
| 6 | 6 |
| 7 #include "platform/v8_inspector/InjectedScript.h" | 7 #include "platform/v8_inspector/InjectedScript.h" |
| 8 #include "platform/v8_inspector/InspectedContext.h" | 8 #include "platform/v8_inspector/InspectedContext.h" |
| 9 #include "platform/v8_inspector/JavaScriptCallFrame.h" | 9 #include "platform/v8_inspector/JavaScriptCallFrame.h" |
| 10 #include "platform/v8_inspector/RemoteObjectId.h" | 10 #include "platform/v8_inspector/RemoteObjectId.h" |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 | 23 |
| 24 using blink::protocol::Array; | 24 using blink::protocol::Array; |
| 25 using blink::protocol::Maybe; | 25 using blink::protocol::Maybe; |
| 26 using blink::protocol::Debugger::BreakpointId; | 26 using blink::protocol::Debugger::BreakpointId; |
| 27 using blink::protocol::Debugger::CallFrame; | 27 using blink::protocol::Debugger::CallFrame; |
| 28 using blink::protocol::Runtime::ExceptionDetails; | 28 using blink::protocol::Runtime::ExceptionDetails; |
| 29 using blink::protocol::Runtime::ScriptId; | 29 using blink::protocol::Runtime::ScriptId; |
| 30 using blink::protocol::Runtime::StackTrace; | 30 using blink::protocol::Runtime::StackTrace; |
| 31 using blink::protocol::Runtime::RemoteObject; | 31 using blink::protocol::Runtime::RemoteObject; |
| 32 | 32 |
| 33 namespace blink { | 33 namespace v8_inspector { |
| 34 | 34 |
| 35 namespace DebuggerAgentState { | 35 namespace DebuggerAgentState { |
| 36 static const char javaScriptBreakpoints[] = "javaScriptBreakopints"; | 36 static const char javaScriptBreakpoints[] = "javaScriptBreakopints"; |
| 37 static const char pauseOnExceptionsState[] = "pauseOnExceptionsState"; | 37 static const char pauseOnExceptionsState[] = "pauseOnExceptionsState"; |
| 38 static const char asyncCallStackDepth[] = "asyncCallStackDepth"; | 38 static const char asyncCallStackDepth[] = "asyncCallStackDepth"; |
| 39 static const char blackboxPattern[] = "blackboxPattern"; | 39 static const char blackboxPattern[] = "blackboxPattern"; |
| 40 static const char debuggerEnabled[] = "debuggerEnabled"; | 40 static const char debuggerEnabled[] = "debuggerEnabled"; |
| 41 | 41 |
| 42 // Breakpoint properties. | 42 // Breakpoint properties. |
| 43 static const char url[] = "url"; | 43 static const char url[] = "url"; |
| (...skipping 1113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1157 void V8DebuggerAgentImpl::reset() | 1157 void V8DebuggerAgentImpl::reset() |
| 1158 { | 1158 { |
| 1159 if (!enabled()) | 1159 if (!enabled()) |
| 1160 return; | 1160 return; |
| 1161 m_scheduledDebuggerStep = NoStep; | 1161 m_scheduledDebuggerStep = NoStep; |
| 1162 m_scripts.clear(); | 1162 m_scripts.clear(); |
| 1163 m_blackboxedPositions.clear(); | 1163 m_blackboxedPositions.clear(); |
| 1164 m_breakpointIdToDebuggerBreakpointIds.clear(); | 1164 m_breakpointIdToDebuggerBreakpointIds.clear(); |
| 1165 } | 1165 } |
| 1166 | 1166 |
| 1167 } // namespace blink | 1167 } // namespace v8_inspector |
| OLD | NEW |