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 1136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1265 { | 1267 { |
1266 m_scripts.clear(); | 1268 m_scripts.clear(); |
1267 m_breakpointIdToDebugServerBreakpointIds.clear(); | 1269 m_breakpointIdToDebugServerBreakpointIds.clear(); |
1268 m_asyncCallStackTracker.clear(); | 1270 m_asyncCallStackTracker.clear(); |
1269 if (m_frontend) | 1271 if (m_frontend) |
1270 m_frontend->globalObjectCleared(); | 1272 m_frontend->globalObjectCleared(); |
1271 } | 1273 } |
1272 | 1274 |
1273 } // namespace WebCore | 1275 } // namespace WebCore |
1274 | 1276 |
OLD | NEW |