How can i open .trace file format(traceview) without DDMS?

后端 未结 5 1204
终归单人心
终归单人心 2021-02-06 00:48

I want to save a log of method calls. Traceview supports that function and I can get .trace file format.

but, I need to open .trace file format without DDMS.

If

5条回答
  •  忘了有多久
    2021-02-06 01:04

    Well for one, you should just use DDMS it's very simple to work with. Even if you don't have eclipse you can use the one that shipped with the SDK. However, if you already have access to the tracefile.trace then you could simply use Traceview from the SDK. Simply open your command prompt and navigate to your android SDK/tools directory as such: cd C:\Program Files\Android\android-sdk\tools. Once there simply type traceview followed by the filename (can omit .trace) as such: traceview C:\Users\Sino\Desktop\Janky_trace_file. This should open your trace file in a GUI representation with functionality to delve into your method calls.

提交回复
热议问题