通过命令行导出仪器跟踪数据以防泄漏 [英] Export instruments trace data via command-line for leaks
本文介绍了通过命令行导出仪器跟踪数据以防泄漏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用以下脚本从命令行运行泄漏工具.
I am using the following script to run leaks instruments from the command-line.
instruments -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/Resources/templates/Leaks.tracetemplate <app path>
执行命令后,我得到了Instrumentscli0.trace文件.我如何从该文件中获取有关泄漏的可读数据.
after executing the command, i get instrumentscli0.trace file. How can i get readable data about leaks from that file.
是否可以通过任何命令将结果导出到文本文件.在自动化模板中,我们可以使用开关-e UIARESULTSPATH
指定输出文件夹.
Is there any way to export the results to a text file via any command. In automation template we can specify an output folder using the switch -e UIARESULTSPATH
.
推荐答案
,您可以在菜单中单击工具>导出数据",以将最近的结果导出到.csv文件.但我不知道如何使用命令行
you can click "instrument > export data" in the menu to export the recent result to a .csv file. but i don't know how to do it with command line
这篇关于通过命令行导出仪器跟踪数据以防泄漏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文