Bug 98385

Summary: Web Inspector: When uiSourceCode content has diverged from VM script, call frames should be shown in temporary script based uiSourceCodes.
Product: WebKit Reporter: Vsevolod Vlasov <vsevik>
Component: Web Inspector (Deprecated)Assignee: Vsevolod Vlasov <vsevik>
Status: RESOLVED FIXED    
Severity: Normal CC: apavlov, bweinstein, joepeck, keishi, loislo, pfeldman, pmuellr, rik, timothy, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch
none
Patch
none
Patch pfeldman: review+

Vsevolod Vlasov
Reported 2012-10-04 01:08:57 PDT
Patch to follow
Attachments
Patch (27.45 KB, patch)
2012-10-04 01:50 PDT, Vsevolod Vlasov
no flags
Patch (27.84 KB, patch)
2012-10-04 01:54 PDT, Vsevolod Vlasov
no flags
Patch (23.08 KB, patch)
2012-10-04 08:07 PDT, Vsevolod Vlasov
pfeldman: review+
Vsevolod Vlasov
Comment 1 2012-10-04 01:50:24 PDT
Vsevolod Vlasov
Comment 2 2012-10-04 01:54:18 PDT
Pavel Feldman
Comment 3 2012-10-04 02:23:27 PDT
Comment on attachment 167055 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=167055&action=review > Source/WebCore/ChangeLog:8 > + Introduced uiSourceCode attribute concept and attributeChanged event. Please split this change, it has too many random components. > Source/WebCore/inspector/front-end/DebuggerModel.js:779 > + return this._script.rawLocationToUILocation(this.location.lineNumber, this.location.columnNumber); I think we should either expose live locations or location getters. > Source/WebCore/inspector/front-end/JavaScriptSourceFrame.js:163 > + var breakpoints = this._getBreakpointDecorations(); This is quite expensive (you are doing it per key press, right?) no _get prefixes in WebKit > Source/WebCore/inspector/front-end/JavaScriptSourceFrame.js:172 > + this._setBreakpointDecorations(breakpoints); You should instead get breakpoints from the vm version of UISourceCode.
Vsevolod Vlasov
Comment 4 2012-10-04 08:07:43 PDT
Pavel Feldman
Comment 5 2012-10-04 08:11:59 PDT
Comment on attachment 167107 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=167107&action=review > Source/WebCore/inspector/front-end/BreakpointManager.js:112 > + if (uiSourceCode.isDivergedReplacement) divergedVersion: function() { return uiSourceCode; } > Source/WebCore/inspector/front-end/JavaScriptSource.js:80 > + fireHasDivergedFromVMChanged: function() I would split it into "fileHasDiverged" and "fileWasMerged"
Vsevolod Vlasov
Comment 6 2012-10-04 08:32:06 PDT
Note You need to log in before you can comment on or make changes to this bug.