Android Studio - Where can I see callstack while debugging an android app?
Solution 1
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.
Solution 2
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!]
Related videos on Youtube
IsmailS
HTML5, JavaScript, BackboneJS, AngularJS, jQuery, REST, OpenRasta, ASP.NET, ASP.NET MVC, WCF developer, SDET, C#, VB.NET Agile Techinical Lead Like swimming, reading non-fiction/motivational http://toolsforwebdevelopers.blogspot.com
Updated on January 29, 2020Comments
-
IsmailS over 4 years
While on a break point, how do I see the call stack to find the callee method/function?
-
ARLabs about 9 yearsI see only: { Debugger, Console, Logcat }. Where is "Threads" ?
-
ARLabs about 9 yearsThanks Nickolai, I didn't find "Threads" because I had closed it. I clicked on the icon on the right of the Tabs and I reopened it.
-
Rob McFeely almost 9 yearsThis took me ages to find and is very counter intuitive. :( . You can turn off the terrible counter intuitive hiding on the settings cog in the extreme top right of the debug window and ensure "Show Views as Tabs" is unchecked
-
akiller almost 8 yearsThis was the second time I've come across your answer to fix this. Shame i can't upvote for both times!
-
longi over 7 years@akiller shame that it's still not fixed ;)
-
Alon over 7 yearsIt may be minimized to the right, find the button with the little arrow pointing at a line (top right corner of the bottom panel) and click it. It will expand again
-
Rock Lee over 7 yearsThat panel was totally hidden 100%! Thank you for the clear picture!
-
Michael over 6 yearsi can see the call stack, but how do I see the PC of each frame?
-
david m lee over 6 yearsYes, the same dragging out works for me. How could this happen? Studio can make it better, right?
-
Almeida about 6 yearsvery nice ! Thank you