IntelliJ IDEA 12 -- viewing the call stack

JavaActionscriptIntellij Idea

Java Problem Overview


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.

Java Solutions


Solution 1 - Java

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

Solution 2 - Java

I had only the view on 'Variables', finally what helped was clicking 'Restore Layout' on the left side of Debugger window (this button: button). Somehow I must have remove 'Frames' before - no other way to restore it...

Solution 3 - Java

I've had it where the Frames and Threads debug tabs are collapsed and only the Variables tab is visible. In this case click and drag the left window edge of the Variables tab to the right.enter image description here

Solution 4 - Java

It's on the lower left in the debug window.

Solution 5 - Java

Debugger window has three main tabs, 'Frame & Treads', 'Variables', and 'Watches'. In my case, 'Variables' tab occupied the whole debugger window, and it showed Variables tab only. There is a window splitter at the edge of the 'Variables' tab. To show 'Frame & Treads', move mouse on to the left edge of 'Variables' tab. Mouse cursor changes to a splitter. Slide right to resize tab size for 'Frame & Treads'.

Solution 6 - Java

If you only see the current stack frame when stepping into library code, you can click on the "funnel" icon (bottom right on the screenshot below) to display the full, unfiltered call stack.

intellij debug window

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionMonweView Question on Stackoverflow
Solution 1 - JavaAshutosh JindalView Answer on Stackoverflow
Solution 2 - JavadzezzzView Answer on Stackoverflow
Solution 3 - Javaonly_meView Answer on Stackoverflow
Solution 4 - JavaduffymoView Answer on Stackoverflow
Solution 5 - Javanick w.View Answer on Stackoverflow
Solution 6 - JavasitaktifView Answer on Stackoverflow