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 > ZombiesNext 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 press
Chose.Now you are all set.
To launch you application press the
Recordbutton.A few Side Notes: