Android Studio-在调试 Android 应用程序时,我在哪里可以看到调用堆栈?

在断点上,如何查看调用堆栈以查找被调用方法/函数?

48960 次浏览

At the bottom panel you should have "5: Debug". Click on it and select "Debugger -> Threads"

You may need to find the "Threads" icon on the far right, or even click the "Restore Layout" button on the left to restore this window.

enter image description here

Seems like there is an UI-Bug in the Android Studio (1.x, 2.x and 3.x).

For me the "Frames/Threads" Panel was completely hidden behind the toolbar, so I had to change the size from the "variable" panel by dragging its left border to reveal the "Frames/Threads".

Example

[I have to admit, that @Greg added this picture after reviewing my answer!]