IntelliJ IDEA 12 -- viewing the call stack

Monwe picture Monwe · Sep 11, 2013 · Viewed 46.5k times · Source

I'm new to the IntelliJ IDE (usually work with Visual Studio) and I'd like to view the current call stack at a particular breakpoint. I've found information on building a call hierarchy but that's not what I'm looking for. Any information on how to view the current call stack would be appreciated.

Answer

Ashutosh Jindal picture Ashutosh Jindal · Sep 11, 2013

The call stack is viewable when you click on the 'Debug' button on the bottom toolbar: enter image description here

Specifically, the call stack is as highlighted below : enter image description here

You may also be interested in an alternative threads view, enabled by clicking the 'Restore threads view' button: enter image description here

Here is a bit of official documentation around debugging that you may find useful if you are new to IntelliJ:

  1. Debug Tool Window
  2. Debug Tool Window - Frames
  3. Debug Tool Window - Threads