如何使用traceview在Eclipse的Andr​​oid开发?如何使用、traceview、Eclipse、Andr

2023-09-04 03:29:53 作者:惨白的记忆

我想在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.