| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2010 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2013 Google Inc. All rights reserved. | 3 * Copyright (C) 2013 Google Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * | 8 * |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 void InspectorDebuggerAgent::disable() | 155 void InspectorDebuggerAgent::disable() |
| 156 { | 156 { |
| 157 m_state->setObject(DebuggerAgentState::javaScriptBreakpoints, JSONObject::cr
eate()); | 157 m_state->setObject(DebuggerAgentState::javaScriptBreakpoints, JSONObject::cr
eate()); |
| 158 m_state->setLong(DebuggerAgentState::pauseOnExceptionsState, ScriptDebugServ
er::DontPauseOnExceptions); | 158 m_state->setLong(DebuggerAgentState::pauseOnExceptionsState, ScriptDebugServ
er::DontPauseOnExceptions); |
| 159 m_state->setString(DebuggerAgentState::skipStackPattern, ""); | 159 m_state->setString(DebuggerAgentState::skipStackPattern, ""); |
| 160 m_state->setLong(DebuggerAgentState::asyncCallStackDepth, 0); | 160 m_state->setLong(DebuggerAgentState::asyncCallStackDepth, 0); |
| 161 m_instrumentingAgents->setInspectorDebuggerAgent(0); | 161 m_instrumentingAgents->setInspectorDebuggerAgent(0); |
| 162 | 162 |
| 163 scriptDebugServer().clearBreakpoints(); | 163 scriptDebugServer().clearBreakpoints(); |
| 164 scriptDebugServer().clearCompiledScripts(); | 164 scriptDebugServer().clearCompiledScripts(); |
| 165 scriptDebugServer().clearPreprocessor(); |
| 165 stopListeningScriptDebugServer(); | 166 stopListeningScriptDebugServer(); |
| 166 clear(); | 167 clear(); |
| 167 | 168 |
| 168 if (m_listener) | 169 if (m_listener) |
| 169 m_listener->debuggerWasDisabled(); | 170 m_listener->debuggerWasDisabled(); |
| 170 | 171 |
| 171 m_skipAllPauses = false; | 172 m_skipAllPauses = false; |
| 172 } | 173 } |
| 173 | 174 |
| 174 bool InspectorDebuggerAgent::enabled() | 175 bool InspectorDebuggerAgent::enabled() |
| (...skipping 1271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1446 | 1447 |
| 1447 void InspectorDebuggerAgent::trace(Visitor* visitor) | 1448 void InspectorDebuggerAgent::trace(Visitor* visitor) |
| 1448 { | 1449 { |
| 1449 visitor->trace(m_injectedScriptManager); | 1450 visitor->trace(m_injectedScriptManager); |
| 1450 visitor->trace(m_listener); | 1451 visitor->trace(m_listener); |
| 1451 InspectorBaseAgent::trace(visitor); | 1452 InspectorBaseAgent::trace(visitor); |
| 1452 } | 1453 } |
| 1453 | 1454 |
| 1454 } // namespace blink | 1455 } // namespace blink |
| 1455 | 1456 |
| OLD | NEW |