打开XCode的NSZombieEnabled选项 2011-05-24 NSZombieEnabled是一个开关,打开之后可以在你试图访问一个释放的对象的时候显示一条警告,有助于调试代码。 方法是在app的执行变量里面加上:NSZombieEnabled: YES。 上一篇:XCode版本控制 下一篇:How To Debug Memory Leaks with XCode and Instruments Tutorial View the discussion thread. blog comments powered by Disqus