转自:http://stackoverflow.com/questions/1417782/how-to-run-iphone-program-with-zombies-instrument
问:
I'm running XCode 3.2 on Snow Leopard and I'm trying to run the Zombies instrument against my app but the selection is
grayed out and I don't know why. I know about the NSZombieEnabled environment variable. I have that set to YES on my application. I'm not sure if this matters, but, the app is an app that I started developing on Leopard with the previous version of XCode.
Here is a screenshot of what my menu looks like:
答:
You need to launch the Instruments application with the Zombies instrument from outside of XCode
This is how you can do it:
The Instruments application is usually located inside/Developer/Applications/
,
but you can also use Spotlight to find it.
When Instruments starts you should be presented with a screen that asks you to choose a template for the new Trace Document.
Select:iPhone
Simulator > Memory > Zombies
Next you need to choose a target.
Go to:Chose
target > Chose target > Chose target...
Now you need to select the application file:
<Path
to your iPhone project>/build/Debug-iphonesimulator/<Application name>
and pressChose
.
Now you are all set.
To launch you application press theRecord
button.
A fewSide Notes:
-
I used XCode 3.2.3 on Mac OS X 10.6.3, but I believe it works the same on previous versions.
-
The Zombies instrument only works with the simulator.
-
The Zombies instrument cannot be used with the Leaks instrument because all the zombies would appear as leaks.
-
I would also like to know why the menu in XCode is grayed out.
分享到:
相关推荐
iPhone Instruments工具使用
Instruments 用户指南.pdf
详细讲解Instruments的用法,看完次文档能够确切的了解Instruments相关以及能够熟练的使用该工具
TEXAS INSTRUMENTS德州仪器ADS1610 说明书 .pdf
cRIO-904x入门指南 - National Instruments
instruments 官方最新使用文档中文翻译,IOS,MacOS 开发调试工具 Instruments 中文翻译 2022版
si8000 si9000 Polar Instruments
national instrument 卡控制 欢迎使用
我的ZigBee协议栈任务处理分析笔记所使用的代码
这里讲述在没有ARC的情况下,如何使用Instruments来查找程序中的内存泄露,以及NSZombieEnabled设置的使用。本文假设你已经比较熟悉Obj-C的内存管理机制。实验的开发环境:XCode4.5.2先下载一个实现准备好的内存泄露...
虚拟乐器的定义和使用 可了解了解。 Virtual.Instruments
介绍了Xcode中内存分析工具Instruments的使用方式,能有效的帮助我们检查程序中的内存泄露
如何使用卸载程序下载文件。 双击文件。 当提示您卸载所有内容时,键入Y或y 。 然后将要求您提供root用户密码。 该命令将卸载所有NI文件。 该命令将启动“磁盘工具”和“修复权限” 。 系统将询问您是否要重新启动...
Texas Instruments的ADC例程DEMO,使用的是内置的temperature sensor,可以参考。
阻抗计算使用工具,快速直接,Polar SI9000
pyWinSpec 该模块用于读取WinSpec使用Princeton Instruments的摄像机创建的SPE文件。 它定义了 2.6版本中使用的结构。 这些定义取自该手册的2.6B版本。 原则上,只要每帧不写入其他元数据,此程序包也可以读取Light...
IAR Embedded Workbench for Texas Instruments 430 5.60授权文件 此授权文件无任何限制,全功能通用版。 与正版授权文件的唯一区别就是不能解压缩Iar Library Source,因不知道压缩文件密码,此缺陷不影响正常使用...
Computer Music Instruments Foundations, Design and Development 英文无水印pdf pdf所有页面使用FoxitReader和PDF-XChangeViewer测试都可以打开 本资源转载自网络,如有侵权,请联系上传者或csdn删除 本资源...
本篇文章主要介绍使用Xcode7的Instruments检测解决iOS内存泄露(最新)的相关资料,需要的朋友可以参考下