| 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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 , m_debuggerStepScheduled(false) | 108 , m_debuggerStepScheduled(false) |
| 109 , m_pausingOnNativeEvent(false) | 109 , m_pausingOnNativeEvent(false) |
| 110 , m_listener(0) | 110 , m_listener(0) |
| 111 , m_skippedStepInCount(0) | 111 , m_skippedStepInCount(0) |
| 112 , m_skipAllPauses(false) | 112 , m_skipAllPauses(false) |
| 113 { | 113 { |
| 114 } | 114 } |
| 115 | 115 |
| 116 InspectorDebuggerAgent::~InspectorDebuggerAgent() | 116 InspectorDebuggerAgent::~InspectorDebuggerAgent() |
| 117 { | 117 { |
| 118 #if !ENABLE(OILPAN) |
| 118 ASSERT(!m_instrumentingAgents->inspectorDebuggerAgent()); | 119 ASSERT(!m_instrumentingAgents->inspectorDebuggerAgent()); |
| 120 #endif |
| 119 } | 121 } |
| 120 | 122 |
| 121 void InspectorDebuggerAgent::init() | 123 void InspectorDebuggerAgent::init() |
| 122 { | 124 { |
| 123 // FIXME: make breakReason optional so that there was no need to init it wit
h "other". | 125 // FIXME: make breakReason optional so that there was no need to init it wit
h "other". |
| 124 clearBreakDetails(); | 126 clearBreakDetails(); |
| 125 m_state->setLong(DebuggerAgentState::pauseOnExceptionsState, ScriptDebugServ
er::DontPauseOnExceptions); | 127 m_state->setLong(DebuggerAgentState::pauseOnExceptionsState, ScriptDebugServ
er::DontPauseOnExceptions); |
| 126 } | 128 } |
| 127 | 129 |
| 128 void InspectorDebuggerAgent::enable() | 130 void InspectorDebuggerAgent::enable() |
| (...skipping 1148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1277 { | 1279 { |
| 1278 m_scripts.clear(); | 1280 m_scripts.clear(); |
| 1279 m_breakpointIdToDebugServerBreakpointIds.clear(); | 1281 m_breakpointIdToDebugServerBreakpointIds.clear(); |
| 1280 m_asyncCallStackTracker.clear(); | 1282 m_asyncCallStackTracker.clear(); |
| 1281 if (m_frontend) | 1283 if (m_frontend) |
| 1282 m_frontend->globalObjectCleared(); | 1284 m_frontend->globalObjectCleared(); |
| 1283 } | 1285 } |
| 1284 | 1286 |
| 1285 } // namespace WebCore | 1287 } // namespace WebCore |
| 1286 | 1288 |
| OLD | NEW |