Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode Instruments - Enable NSZombie Detection? Where is it?

I have watched this video http://www.markj.net/iphone-memory-debug-nszombie/

The guy shows an option called Enable NSZombie Detection on Allocations inside instruments, but my Instruments doesn't shows this option. This guy's video was done using a one year old version of Instruments and I am using Xcode 3.2.5. Do you guys know where this option is now? How can I enable it for iPhone apps?

thanks

like image 416
Duck Avatar asked Nov 27 '22 18:11

Duck


2 Answers

In XCode 4.0, this 'Enable Zombie' option is only present in iPhone simulator and not when you profile on actual device.

like image 100
Aditya Kumar Pandey Avatar answered Dec 09 '22 03:12

Aditya Kumar Pandey


The zombie option is available in Xcode 3.2.6 under the allocations tool if you run in the simulator. For debugging memory crashes due to too many dealloc, the simulator will work just as well as the device nearly every time. BTW I am 'The guy' in the question ;-)

enter image description here

like image 38
Mark Johnson Avatar answered Dec 09 '22 04:12

Mark Johnson