如何一步使用Monitor(DDMS)工具来调试应用程序的步骤? [英] How to use Monitor (DDMS) tool to debug application step by step?

查看:1361
本文介绍了如何一步使用Monitor(DDMS)工具来调试应用程序的步骤?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是从我的Eclipse开发环境,切换到Android Studio的这些日子。而且我真的很喜欢它的自动完成功能和许多其他功能这个IDE提供。不过,我在做调试时,有一些问题。

I'm switching my development environment from Eclipse to Android Studio these days. And I really enjoy its autocompletion and many other features this IDE provide. However I have some problem when doing debugging.

我希望利用此IDE提供的监视器工具,包括自我DDMS和非常漂亮的可视化界面来跟踪内存使用情况,线程状态等。但我不能找到一种方法,这可能支持一步一步使用断点我有创造(即红点编辑器)

I hope to use Monitor tool which this IDE provided, self included DDMS and very nice visual interface to track memory usage, thread condition and so on. But I can't find a way that this could support step by step using breakpoints I have create (That red dot in editor)

我只能无法打开此监视器一步一步做调试。因为当我试图同时debbuger运行时使用Monitor,它会弹出一个窗口,要求我先断开ADB。我也找不到,开始从监视器应用程序的地方。

I can only do step by step debug by not open this Monitor. Since when I try to use Monitor while debbuger is running, it will popup a window ask me to disconnect the ADB first. I also can't find a place to start application from Monitor.

我只希望知道吗?有没有一种方法,而使用监控器,Android Studio中同时做一步一步调试?请与我分享!谢谢!

I just hope to know? Is there a way to do step by step debug while using Monitor at same time in Android Studio? Please share with me! Thank you!

推荐答案

工具> Android的> Android设备监控

Tools > Android > Android Device Monitor

在v0.8.6。这将拉起DDMS Eclipse透视图。

in v0.8.6. That will pull up the DDMS eclipse perspective.

如何打开

这篇关于如何一步使用Monitor(DDMS)工具来调试应用程序的步骤?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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