如何使用Eclipse可视化Android调用堆栈? [英] How can I visualize Android call stack using Eclipse?

查看:210
本文介绍了如何使用Eclipse可视化Android调用堆栈?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

无论如何,我可以看到一个Android应用程序的调用堆栈?我可以在Eclipse中找到所有正在运行的线程:

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

我想要的是查看我的子例程是如何调用的,以便调试与活动回堆栈相关的问题。

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

谢谢!

推荐答案

在您的代码中添加断点,并在调试模式下运行那么你可能会看到调用栈。 AFAIK,运行模式只显示线程数和进程数。它不显示呼叫序列。

Add break points in your code somewhere and run in debug mode, you may see call stack then. AFAIK, While run mode it just displays number of threads and process. It doesn't display sequence of calls.

这篇关于如何使用Eclipse可视化Android调用堆栈?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆