原文地址:
http://www.frogameleon.com/blog/last-night-an-iphone-zombie-nszombieenabled-saved-my-life
原文大意:
启用NSZombieEnabled,可以在EXC_BAD_ACCESS发生时查看调用堆栈。
使用方法:
To enable it (in xcode)
1. Double-click an executable in the Executables group of your Xcode project.
2. Click the Arguments tab.
3. In the “Variables to be set in the environment:” section, make a variable called “NSZombieEnabled” and set its value to “YES”.