ChatGPT解决这个技术问题 Extra ChatGPT

IntelliJ IDEA 12 -- viewing the call stack

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.

I'm not near my IntelliJ, but you toggle a breakpoint by clicking the grey panel to the left of the code window. Then click Run -> Debug... And when it reaches the breakpoint, it should stop and give you the call stack on the left side.

A
Ashutosh Jindal

https://i.stack.imgur.com/DE4NC.png

https://i.stack.imgur.com/QE0R6.png

https://i.stack.imgur.com/TQ4RI.png

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

Debug Tool Window Debug Tool Window - Frames Debug Tool Window - Threads


I totally overlooked that part, and I've been using IntelliJ for a couple of years now. Welp.
i can't understand why in this page is no image?
oh sorry. every thing is blocked in iran such as this page images.lol
M
Matthew Read

https://i.stack.imgur.com/CQRlr.png


s
shareef

https://i.stack.imgur.com/WZ7CS.png


beautiful art =)
d
duffymo

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


n
nick w.

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'.


s
sitaktif

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.

https://i.stack.imgur.com/VxAaW.png