Bug 41762

Summary: [v8] Web Inspector: stack trace is broken when there are functions from internal scripts
Product: WebKit Reporter: Yury Semikhatsky <yurys>
Component: Web Inspector (Deprecated)Assignee: Yury Semikhatsky <yurys>
Status: RESOLVED FIXED    
Severity: Normal CC: bweinstein, joepeck, keishi, pfeldman, pmuellr, rik, timothy, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch
none
Patch pfeldman: review+

Yury Semikhatsky
Reported 2010-07-07 05:47:09 PDT
Web Inspector fails to show correct call stack when it contains functions from internal scripts(e.g. extensions are partially written in JavaScript). This happens because these scripts are precompiled and their sources are not available in runtime. Web Inspector fails to resolve script for first of them and skips all the rest. I think we should show the frames corresponding to those functions in the call stack. Steps to reproduce: 1. Install a Chromium extension with background page. 2. Set a breakpoint in the background page. 3. Execute code hitting the breakpoint. Result: Only top frame is shown and it's not selected.
Attachments
Patch (1.57 KB, patch)
2010-07-07 05:50 PDT, Yury Semikhatsky
no flags
Patch (1.96 KB, patch)
2010-07-07 05:53 PDT, Yury Semikhatsky
pfeldman: review+
Yury Semikhatsky
Comment 1 2010-07-07 05:50:57 PDT
Yury Semikhatsky
Comment 2 2010-07-07 05:53:50 PDT
Pavel Feldman
Comment 3 2010-07-07 05:56:31 PDT
Comment on attachment 60725 [details] Patch WebCore/inspector/front-end/CallStackSidebarPane.js:64 + if (scriptOrResource) { remove {}
Yury Semikhatsky
Comment 4 2010-07-07 06:07:42 PDT
Committed r62658
Note You need to log in before you can comment on or make changes to this bug.