Bug 85403

Summary: Web Inspector: Feature Request: Function line-references in console
Product: WebKit Reporter: Rob Colburn <robert.colburn+bugzilla>
Component: Web Inspector (Deprecated)Assignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: apavlov, bweinstein, joepeck, keishi, loislo, pfeldman, pmuellr, rik, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   

Rob Colburn
Reported 2012-05-02 12:27:08 PDT
When a console.log fires or an Exception occurs, you see the output in the console, and a linked reference to the script-name: line-number where the call was made. That's quite handy for digging through a large-code base. When you type a function name into the console, it prints out the function body. That's quite handy for small-functions, so you can remember what they are up to. Now, what about larger functions, or small functions that are a part of a class? It'd be handy to see those in context, with some syntax-highlighting. It would be fantastic, to see a linked reference to the funciton definition when printing out a function body in the console. Not sure how difficult that would be, but it would be handy.
Attachments
Brian Burg
Comment 1 2014-12-12 14:36:19 PST
Closing as invalid, as this bug pertains to the old inspector UI and/or its tests. Please file a new bug (https://www.webkit.org/new-inspector-bug) if the bug/feature/issue is still relevant to WebKit trunk.
Note You need to log in before you can comment on or make changes to this bug.