While on a break point, how do I see the call stack to find the callee method/function?
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.
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".
[I have to admit, that @Greg added this picture after reviewing my answer!]
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.
It depends on the version of Android Studio. In Android Studio 4.x (screenshot from 4.1.3), it is the camera icon on the left, as seen in the screenshot. Hover over it and you see "Get thread dump", even though it may be counter-intuitive, being more often associated with taking a screenshot.
I just checked Android Studio Dolphin, it is the same button.
© 2022 - 2024 — McMap. All rights reserved.