`
逍遥一狂
  • 浏览: 191348 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

iPhone调试,EXC_BAD_ACCESS 不再愁

阅读更多

原文地址:

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”.

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics