NSZombieEnabled不起作用
问题描述:
我在我的方案中设置了NSZombieEnabled
到YES
,但仍然没有调试信息。我正在使用Xcode 4.6.3。NSZombieEnabled不起作用
我读过这个问题,但它不能解决我的问题:NSZombie Enabled but Still No Debug Info。
这里是崩溃日志,
-[MODELNode nodeList]: unrecognized selector sent to instance 0x1315170
2013-12-16 12:30:29.990 OHI Control[6198:907] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[MODELNode nodeList]: unrecognized selector sent to instance 0x1315170'
*** First throw call stack:
(0x311c32a3 0x3906397f 0x311c6e07 0x311c5531 0x3111cf68 0x1a2273 0x333fc547 0x333fd789 0x333f4add 0x333f53eb 0x333f27d3 0x333fc685 0x333fcb3d 0x333e375f 0x32fce803 0x32d78d8b 0x32d78929 0x32d7985d 0x32d79243 0x32d79051 0x32fd48eb 0x311986cd 0x311969c1 0x31196d17 0x31109ebd 0x31109d49 0x34cd32eb 0x3301f301 0x2f15 0x3949ab20)
libc++abi.dylib: terminate called throwing an exception
我如何得到这个工作正常?
您正在调试的错误是什么? NSZombies使您能够在您尝试引用释放对象的情况下仅挑选那些错误。 –
日志打印出我向实例发送无效消息,但不打印实际发生的位置,即没有指出代码片段。 – Adi
使用中断点进行调试 – iEinstein