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.
6 Answers
The call stack is viewable when you click on the 'Debug' button on the bottom toolbar:
Specifically, the call stack is as highlighted below :
You may also be interested in an alternative threads view, enabled by clicking the 'Restore threads view' button:
Here is a bit of official documentation around debugging that you may find useful if you are new to IntelliJ:
-
2I totally overlooked that part, and I've been using IntelliJ for a couple of years now. Welp. Jun 7, 2016 at 23:32
-
-
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.
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'.