Bug 21181

Summary: Web Inspector: show actual argument values and function names for each frame in stack traces
Product: WebKit Reporter: Timothy Hatcher <timothy>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: aroben, inspector-bugzilla-changes, jonowells, jwalden+bwo, keishi, kmccullough, laszlo.gombos, webkit-bug-importer, webkit.org, yurys
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on: 13646    
Bug Blocks:    

Timothy Hatcher
Reported 2008-09-27 14:59:07 PDT
We should show the arguments for each function in the stack. Similar to GDB's 'bt' command.
Attachments
Xavier Morel
Comment 1 2011-05-06 04:57:20 PDT
(In reply to comment #0) > We should show the arguments for each function in the stack. Similar to GDB's 'bt' command. Or Firebug's own implementation, which: * Shows the function name (even for many anonymous functions, it infers the name from a container property I'd guess), this is mostly 19229 * Links the function name to the function itself (not just the file:line note) * Hyperlinks all complex (object) arguments so that they can be inspected on their own This results in a much nicer console.trace()
Brian Burg
Comment 2 2014-12-16 00:21:38 PST
See also: Theseus (http://www.joelbrandt.org/publications/lieber_chi2014_always-on_programming_visualizations.pdf) Clearly this will be slow, so it should only be done by default for exceptional or opt-in cases (exceptions, console.error, console.trace, ...)
Radar WebKit Bug Importer
Comment 3 2014-12-17 11:20:32 PST
Note You need to log in before you can comment on or make changes to this bug.