Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio - Where can I see callstack while debugging an android app?

While on a break point, how do I see the call stack to find the callee method/function?

like image 805
IsmailS Avatar asked Jan 12 '14 06:01

IsmailS


People also ask

How can we get the call stack in the debugger?

While debugging, in the Debug menu, select Windows > Call Stack or press ctrl + alt + C . A yellow arrow identifies the stack frame where the execution pointer is currently located. By default, this stack frame's information appears in the source, Locals, Autos, Watch, and Disassembly windows.

How do I access call stack?

To open the Call Stack window in Visual Studio, from the Debug menu, choose Windows>Call Stack. To set the local context to a particular row in the stack trace display, select and hold (or double click) the first column of the row.

What is debug call stack?

The call stack is a list of all the active functions that have been called to get to the current point of execution. The call stack includes an entry for each function called, as well as which line of code will be returned to when the function returns.


1 Answers

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!]

like image 50
longi Avatar answered Nov 08 '22 07:11

longi