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
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Brian Burg
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.