| 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 1190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1201 const String& localId = breakpointIterator->value.first; | 1201 const String& localId = breakpointIterator->value.first; |
| 1202 hitBreakpointIds->addItem(localId); | 1202 hitBreakpointIds->addItem(localId); |
| 1203 | 1203 |
| 1204 BreakpointSource source = breakpointIterator->value.second; | 1204 BreakpointSource source = breakpointIterator->value.second; |
| 1205 if (m_breakReason == InspectorFrontend::Debugger::Reason::Other && s
ource == DebugCommandBreakpointSource) | 1205 if (m_breakReason == InspectorFrontend::Debugger::Reason::Other && s
ource == DebugCommandBreakpointSource) |
| 1206 m_breakReason = InspectorFrontend::Debugger::Reason::DebugComman
d; | 1206 m_breakReason = InspectorFrontend::Debugger::Reason::DebugComman
d; |
| 1207 } | 1207 } |
| 1208 } | 1208 } |
| 1209 | 1209 |
| 1210 m_frontend->paused(currentCallFrames(), m_breakReason, m_breakAuxData, hitBr
eakpointIds, currentAsyncStackTrace()); | 1210 m_frontend->paused(currentCallFrames(), m_breakReason, m_breakAuxData, hitBr
eakpointIds, currentAsyncStackTrace()); |
| 1211 m_frontend->flush(); | |
| 1212 m_javaScriptPauseScheduled = false; | 1211 m_javaScriptPauseScheduled = false; |
| 1213 | 1212 |
| 1214 if (!m_continueToLocationBreakpointId.isEmpty()) { | 1213 if (!m_continueToLocationBreakpointId.isEmpty()) { |
| 1215 scriptDebugServer().removeBreakpoint(m_continueToLocationBreakpointId); | 1214 scriptDebugServer().removeBreakpoint(m_continueToLocationBreakpointId); |
| 1216 m_continueToLocationBreakpointId = ""; | 1215 m_continueToLocationBreakpointId = ""; |
| 1217 } | 1216 } |
| 1218 if (m_listener) | 1217 if (m_listener) |
| 1219 m_listener->didPause(); | 1218 m_listener->didPause(); |
| 1220 } | 1219 } |
| 1221 | 1220 |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1288 m_scripts.clear(); | 1287 m_scripts.clear(); |
| 1289 m_breakpointIdToDebugServerBreakpointIds.clear(); | 1288 m_breakpointIdToDebugServerBreakpointIds.clear(); |
| 1290 m_asyncCallStackTracker.clear(); | 1289 m_asyncCallStackTracker.clear(); |
| 1291 m_promiseTracker.clear(); | 1290 m_promiseTracker.clear(); |
| 1292 if (m_frontend) | 1291 if (m_frontend) |
| 1293 m_frontend->globalObjectCleared(); | 1292 m_frontend->globalObjectCleared(); |
| 1294 } | 1293 } |
| 1295 | 1294 |
| 1296 } // namespace WebCore | 1295 } // namespace WebCore |
| 1297 | 1296 |
| OLD | NEW |