Index: Source/WebCore/inspector/front-end/ScriptsPanel.js |
=================================================================== |
--- Source/WebCore/inspector/front-end/ScriptsPanel.js (revision 112684) |
+++ Source/WebCore/inspector/front-end/ScriptsPanel.js (working copy) |
@@ -256,6 +256,10 @@ |
_uiSourceCodeAdded: function(event) |
{ |
var uiSourceCode = /** @type {WebInspector.UISourceCode} */ event.data; |
+ |
+ var breakpoints = uiSourceCode.breakpoints(); |
+ for (var lineNumber in breakpoints) |
+ this._uiBreakpointAdded({ data: breakpoints[lineNumber] }); |
this._addBreakpointListeners(uiSourceCode); |
if (!uiSourceCode.url || uiSourceCode.isSnippetEvaluation) { |