nachtigall
nachtigall

Reputation: 2497

Seeing JavaScript stacktrace on Error in Firefox Developer Tools (like in Chrome)

Is there a way to inspect the stacktrace using the Firefox Developer Tools whenever an error occurs.

I know I can set breakpoints, but if it is an unexpected error, then the Firefox dev tools only show the place where the error occurred (usually somewhere deep in a lib like jQuery) and not the more application related stacktrace.

Something like Chrome does it: enter image description here

If not yet supported, is there a bugreport for this somewhere? I search the web, but cannot find any...

Upvotes: 2

Views: 560

Answers (2)

nachtigall
nachtigall

Reputation: 2497

In current Firefox (tested with Fx 44) this feature is now built in. See the toogle next to ReferenceError

enter image description here

Upvotes: 1

NoBugs
NoBugs

Reputation: 9496

I haven't tested it recently, but there's an experimental plugin to enable that: https://github.com/DavidBruant/usefulStackTrace

Upvotes: 0

Related Questions