Bug 85403 - Web Inspector: Feature Request: Function line-references in console
Summary: Web Inspector: Feature Request: Function line-references in console
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-02 12:27 PDT by Rob Colburn
Modified: 2014-12-12 14:36 PST (History)
9 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rob Colburn 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.
Comment 1 Brian Burg 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.