Commit 19fdb267 authored by eric@webkit.org's avatar eric@webkit.org

2010-01-31 Pavel Feldman <pfeldman@chromium.org>

        Reviewed by Timothy Hatcher.

        Web Inspector: [REGRESSION] Breakpoint source line is not displayed
        in the breakpoint manager.

        * inspector/front-end/SourceFrame.js:
        (WebInspector.SourceFrame.prototype._addBreakpointToSource):

git-svn-id: svn://svn.chromium.org/blink/trunk@54111 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent fe376ccb
2010-01-31 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Timothy Hatcher.
Web Inspector: [REGRESSION] Breakpoint source line is not displayed
in the breakpoint manager.
* inspector/front-end/SourceFrame.js:
(WebInspector.SourceFrame.prototype._addBreakpointToSource):
2010-01-31 Pavel Feldman <pfeldman@chromium.org> 2010-01-31 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Timothy Hatcher. Reviewed by Timothy Hatcher.
......
...@@ -318,6 +318,7 @@ WebInspector.SourceFrame.prototype = { ...@@ -318,6 +318,7 @@ WebInspector.SourceFrame.prototype = {
_addBreakpointToSource: function(breakpoint) _addBreakpointToSource: function(breakpoint)
{ {
this._textModel.setAttribute(breakpoint.line - 1, "breakpoint", breakpoint); this._textModel.setAttribute(breakpoint.line - 1, "breakpoint", breakpoint);
breakpoint.sourceText = this._textModel.line(breakpoint.line - 1);
this._editor.paintLineNumbers(); this._editor.paintLineNumbers();
}, },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment