| 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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 , m_javaScriptPauseScheduled(false) | 106 , m_javaScriptPauseScheduled(false) |
| 107 , m_debuggerStepScheduled(false) | 107 , m_debuggerStepScheduled(false) |
| 108 , m_listener(0) | 108 , m_listener(0) |
| 109 , m_skipStepInCount(numberOfStepsBeforeStepOut) | 109 , m_skipStepInCount(numberOfStepsBeforeStepOut) |
| 110 , m_skipAllPauses(false) | 110 , m_skipAllPauses(false) |
| 111 { | 111 { |
| 112 } | 112 } |
| 113 | 113 |
| 114 InspectorDebuggerAgent::~InspectorDebuggerAgent() | 114 InspectorDebuggerAgent::~InspectorDebuggerAgent() |
| 115 { | 115 { |
| 116 #if !ENABLE(OILPAN) |
| 116 ASSERT(!m_instrumentingAgents->inspectorDebuggerAgent()); | 117 ASSERT(!m_instrumentingAgents->inspectorDebuggerAgent()); |
| 118 #endif |
| 117 } | 119 } |
| 118 | 120 |
| 119 void InspectorDebuggerAgent::init() | 121 void InspectorDebuggerAgent::init() |
| 120 { | 122 { |
| 121 // FIXME: make breakReason optional so that there was no need to init it wit
h "other". | 123 // FIXME: make breakReason optional so that there was no need to init it wit
h "other". |
| 122 clearBreakDetails(); | 124 clearBreakDetails(); |
| 123 m_state->setLong(DebuggerAgentState::pauseOnExceptionsState, ScriptDebugServ
er::DontPauseOnExceptions); | 125 m_state->setLong(DebuggerAgentState::pauseOnExceptionsState, ScriptDebugServ
er::DontPauseOnExceptions); |
| 124 } | 126 } |
| 125 | 127 |
| 126 void InspectorDebuggerAgent::enable() | 128 void InspectorDebuggerAgent::enable() |
| (...skipping 1103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1230 { | 1232 { |
| 1231 m_scripts.clear(); | 1233 m_scripts.clear(); |
| 1232 m_breakpointIdToDebugServerBreakpointIds.clear(); | 1234 m_breakpointIdToDebugServerBreakpointIds.clear(); |
| 1233 m_asyncCallStackTracker.clear(); | 1235 m_asyncCallStackTracker.clear(); |
| 1234 if (m_frontend) | 1236 if (m_frontend) |
| 1235 m_frontend->globalObjectCleared(); | 1237 m_frontend->globalObjectCleared(); |
| 1236 } | 1238 } |
| 1237 | 1239 |
| 1238 } // namespace WebCore | 1240 } // namespace WebCore |
| 1239 | 1241 |
| OLD | NEW |