Open
Bug 971936
Opened 11 years ago
Updated 1 year ago
Error stack string should align function names
Categories
(Core :: JavaScript Engine, enhancement, P3)
Tracking
()
NEW
People
(Reporter: fitzgen, Unassigned)
References
(Blocks 1 open bug)
Details
STR:
Open the devtools console and run this snippet:
> function a() { bb() }
> function bb() { ccc() }
> function ccc() { d(); }
> function d() { console.log(Error().stack) }
> a()
Expected:
d @debugger eval code:4
ccc@debugger eval code:3
bb @debugger eval code:2
a @debugger eval code:1
@debugger eval code:5
Actual:
d@debugger eval code:4
ccc@debugger eval code:3
bb@debugger eval code:2
a@debugger eval code:1
@debugger eval code:5
---------------------------------------------
It would be a lot easier to visually parse out both the function display names and the sources if we aligned each stack frame on the "@" symbol.
Updated•3 years ago
|
Severity: normal → S3
Updated•1 year ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•