Changeset 120470 in webkit
- Timestamp:
- Jun 15, 2012, 9:48:21 AM (14 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
inspector/InspectorDebuggerAgent.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r120469 r120470 1 2012-06-15 Ilya Tikhonovsky <loislo@chromium.org> 2 3 Web Inspector: CRASH when DebuggerAgent.setBreakpoint was called twice for the same location. 4 https://bugs.webkit.org/show_bug.cgi?id=89225 5 6 Reviewed by Pavel Feldman. 7 8 * inspector/InspectorDebuggerAgent.cpp: 9 (WebCore::InspectorDebuggerAgent::setBreakpoint): 10 1 11 2012-06-08 Alexander Pavlov <apavlov@chromium.org> 2 12 -
trunk/Source/WebCore/inspector/InspectorDebuggerAgent.cpp
r114636 r120470 274 274 275 275 String breakpointId = scriptId + ':' + String::number(lineNumber) + ':' + String::number(columnNumber); 276 if (m_breakpointIdToDebugServerBreakpointIds.find(breakpointId) != m_breakpointIdToDebugServerBreakpointIds.end()) 277 return; 276 if (m_breakpointIdToDebugServerBreakpointIds.find(breakpointId) != m_breakpointIdToDebugServerBreakpointIds.end()) { 277 *errorString = "Breakpoint at specified location already exists."; 278 return; 279 } 278 280 ScriptBreakpoint breakpoint(lineNumber, columnNumber, condition); 279 281 actualLocation = resolveBreakpoint(breakpointId, scriptId, breakpoint);
Note:
See TracChangeset
for help on using the changeset viewer.