如何使用traceview在Eclipse的Andr​​oid开发? [英] how to use traceview in eclipse for android development?

查看:156
本文介绍了如何使用traceview在Eclipse的Andr​​oid开发?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在Eclipse中使用traceview的机器人。我有几个问题: 1.请问我的模拟器电话需要有一个SD卡traceview工作? 2.有什么方法可以直接从Eclipse IDE中开始traceview?

I want to use traceview in android in eclipse. I have a few questions: 1. Does my emulator phone need to have a sd card for traceview to work? 2. Is there anyway to start traceview directly from eclipse ide?

我也尝试把SD卡存储在我的AVD设备,但我仍然无法找到文件夹标记为SD卡。

I did try to put sd card memory in my avd device but still i cannot find the folder marked sdcard.

在此先感谢。

推荐答案

在Eclipse中的DDMS透视图,你必须在设备视图中选择你的进程。 然后点击Start方法剖析图标(三箭带红点)。

In Eclipse in the DDMS perspective you have to select your process in the devices view. Then click on the Start Method Profiling icon (three arrows with a red dot).

一旦你完成再次单击该按钮(它现在有一个黑色的停车标志以表示跟踪被激活)和跟踪文件从设备/仿真器自动拉,结果显示出来。

Once you are done click the same button again (it now has a black stop sign to signal that tracing is activated) and the trace file is automatically pulled from the device/the emulator and the results are displayed.

这篇关于如何使用traceview在Eclipse的Andr​​oid开发?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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