Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I visualize Android call stack using Eclipse?

Is there anyway I could visualize the call stack of an Android app? All I can find in Eclipse are the running threads:

enter image description here

What I want, is to see how my subroutines are called in order to debug an issue related to the activities back stack.

Thanks!

like image 860
Amokrane Chentir Avatar asked Mar 30 '26 22:03

Amokrane Chentir


1 Answers

You can see the instantaneous call stack in any of your threads. In the DDMS perspective of Eclipse, click on the Threads window.

enter image description here

It'll be empty to start. Select your process on the Devices window, then click on the threads button above the list of processes in the Devices list.

enter image description here

Now you'll see a list of threads in the Threads window. Click on one of the threads and then press the Refresh button below. You'll see the instantaneous stack trace of that thread.

enter image description here

like image 156
Brian Dupuis Avatar answered Apr 01 '26 15:04

Brian Dupuis