How do I set up NSZombieEnabled and CFZombieLevel for my executable in Xcode 4?
NSZombieEnabled
CFZombieLevel
Cocoa offers a cool feature which greatly enhances your capabilities to debug such situations. It is an environment variable which is called NSZombieEnabled, watch this video that explains setting up NSZombieEnabled in objective-C