Stack Trace in Javascript Debugger for IntelliJ?

Answered

Is a stack trace available when debugging Javascript? I'm debugging HTML5 with IntelliJ and Chrome and can't find the stack trace when pausing on a break point in the debugger. Does it exists? How do I invoke it? 

0
5 comments

Exceptions thrown while debugging are normally loaded to debugger console.

You can also try enabling exception breakpoints - once such breakpoints is hit, the error  is shown in Variables view, 'Exception' node

 

0
Avatar
Permanently deleted user

Thanks for the response. How do I enable exception breakpoints? I know how to add regular breakpoints, but don't see a way to do exception breakpoints. How do you open the breakpoint listing panel in the upper right of your image?

0

Run/View Breakpoints, tick 'JavaScript Exception Breakpoints' checkbox - see the screenshot in my previous comment

0
Avatar
Permanently deleted user

But what about stack trace? Is it exist or not?

0

Haven't got what you mean... If Log > Stack trace option is enabled for exception breakpoints

 

the stack is printed to console, like

 

0

Please sign in to leave a comment.