Closed Bug 1432775 Opened 6 years ago Closed 6 years ago

Stack trace is hard to read

Categories

(DevTools :: Console, defect)

58 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1447639

People

(Reporter: pkoszulinski, Unassigned)

Details

Attachments

(2 files)

Attached image image (3).png
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36

Steps to reproduce:

Make your code crash and see how the stack trace looks on the console


Actual results:

If you have the console attached to the bottom of Firefox's window and the window is wide you can't possibly match items on the left (function names) with file names on the right.


Expected results:

Chrome shows the stack trace in a more readable format (file names are next to fn names). Ideally, though, I'd see all file names aligned to the same x position and as close to the fn names as possible (like in a table but without borders).
Component: Untriaged → Developer Tools: Console
Steps to reproduce: 
1. Open the console
2. Evaluate the following: 
```js
 {
function foo() {bar()}
function bar() {baz()}
function baz() {console.error("something bad happened")}
foo()
}
```
3. Expand the message to reveal the stacktrace
Attached image Stacktrace proposal
Were you thinking about something like this ?
Flags: needinfo?(pkoszulinski)
Yes. It looks great. I'd only suggest making the margin between fn names and file names slightly bigger to have a clear separation between these two columns.
Flags: needinfo?(pkoszulinski)
This was fixed in Bug 1447639
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: