我怎样才能打开.trace文件格式(traceview)没有DDMS? [英] How can i open .trace file format(traceview) without DDMS?

查看:1514
本文介绍了我怎样才能打开.trace文件格式(traceview)没有DDMS?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要保存日志的方法调用。 Traceview支持该功能,我可以得到.trace文件格式。

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

不过,我需要没有DDMS打开.trace文件格式。

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

如果我可以不DDMS无法打开.trace文件,我怎样才能得到一个日志的方法调用? (最好的是.txt文件格式。)

If I can't open .trace file without DDMS, How can I get a log of method calls? (The best is .txt file format.)

感谢。

推荐答案

traceview是一个命令行实用程序。你并不需要从DDMS启动它。

"traceview" is a command-line utility. You don't need to launch it from DDMS.

如果你只是想用时间和消息名称的文本文件,你可以使用dmtracedump -o file.trace。

If you just want a text file with times and message names, you can use "dmtracedump -o file.trace".

这篇关于我怎样才能打开.trace文件格式(traceview)没有DDMS?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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