iphone 调试设立

iphone 调试设置当调试程序时,程序突然崩溃,默认条件下,XCode反馈的信息不够多。可以通过以下方式让XCode反

iphone 调试设置

当调试程序时,程序突然崩溃,默认条件下,XCode反馈的信息不够多。可以通过以下方式让XCode反馈足够多的信息。

在Edit–>Scheme里面 找到Arguments

NSAutoreleaseFreedObjectCheckEnabled

NSZombieEnabled

NSDebugEnabled

NSZombieEnabled?
MallocStackLogging
MallocStackLoggingNoCompact?