Changeset 71112 in webkit


Ignore:
Timestamp:
Nov 2, 2010 6:54:56 AM (14 years ago)
Author:
podivilov@chromium.org
Message:

2010-11-02 Pavel Podivilov <podivilov@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: fix for breakpoints not restored on live edit bug
https://bugs.webkit.org/show_bug.cgi?id=48833

  • inspector/front-end/ScriptsPanel.js: (WebInspector.ScriptsPanel.prototype.debuggerPaused):
  • inspector/front-end/inspector.js: (WebInspector.pausedScript):
Location:
trunk/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r71111 r71112  
     12010-11-02  Pavel Podivilov  <podivilov@chromium.org>
     2
     3        Reviewed by Pavel Feldman.
     4
     5        Web Inspector: fix for breakpoints not restored on live edit bug
     6        https://bugs.webkit.org/show_bug.cgi?id=48833
     7
     8        * inspector/front-end/ScriptsPanel.js:
     9        (WebInspector.ScriptsPanel.prototype.debuggerPaused):
     10        * inspector/front-end/inspector.js:
     11        (WebInspector.pausedScript):
     12
    1132010-11-02  Alexander Pavlov  <apavlov@chromium.org>
    214
  • trunk/WebCore/inspector/front-end/ScriptsPanel.js

    r71109 r71112  
    377377    },
    378378
    379     debuggerPaused: function(details)
     379    debuggerPaused: function(callFrames)
    380380    {
    381381        WebInspector.breakpointManager.removeOneTimeBreakpoint();
     
    386386        this._updateDebuggerButtons();
    387387
    388         this.sidebarPanes.callstack.update(details.callFrames, this._sourceIDMap);
    389         this.sidebarPanes.callstack.selectedCallFrame = details.callFrames[0];
     388        this.sidebarPanes.callstack.update(callFrames, this._sourceIDMap);
     389        this.sidebarPanes.callstack.selectedCallFrame = callFrames[0];
    390390
    391391        WebInspector.currentPanel = this;
  • trunk/WebCore/inspector/front-end/inspector.js

    r71109 r71112  
    13451345WebInspector.pausedScript = function(details)
    13461346{
    1347     this.panels.scripts.debuggerPaused(details);
     1347    this.panels.scripts.debuggerPaused(details.callFrames);
    13481348    this.breakpointManager.debuggerPaused(details);
    13491349    InspectorFrontendHost.bringToFront();
Note: See TracChangeset for help on using the changeset viewer.