Alex Rivera | Logout

Javascript exception stack trace

Asked 2008-09-29T08:11:04.267
104

In Firefox I can get the stack trace of an exception by using exception.stack.

Is there a way to get that in other browsers, too?

Edit: I actually want to save the stack trace automatically (if possible) and not debug it at the time (i.e. I know how to get the stack trace in a debugger).

Edit
Report

1 Answer

0

Not really, at least not easily.

In IE, you can debug the browser process with MS Script Debugger (which for some reason is an Office component) or Visual Studio, and then you can see the stack on breakpoints.

answered 2008-09-29T08:13:08.117

Your Answer