iphone ios XCode4如何调试程序忽然崩溃而找不到挂的代码

XCode4设置不太一样: 在Edit–>Scheme里面 找到Arguments(在xcode 4.2中,在菜单 product->edit scheme中)

iphone ios XCode4如何调试程序忽然崩溃而找不到挂的代码_第1张图片

把下面3个值设置成YES

NSAutoreleaseFreedObjectCheckEnabled

NSZombieEnabled

NSDebugEnabled

 

你可能感兴趣的:(iphone ios XCode4如何调试程序忽然崩溃而找不到挂的代码)