2013-12-16 34 views
-1

我在我的方案中設置了NSZombieEnabledYES,但仍然沒有調試信息。我正在使用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 

我如何得到這個工作正常?

+0

您正在調試的錯誤是什麼? NSZombies使您能夠在您嘗試引用釋放對象的情況下僅挑選那些錯誤。 –

+0

日誌打印出我向實例發送無效消息,但不打印實際發生的位置,即沒有指出代碼片段。 – Adi

+0

使用中斷點進行調試 – iEinstein

回答

0

添加異常斷點我在這裏添加圖像來解釋如何。

First image Second image

Third image

Fourth Image

這就是全部。希望這可以幫助。

+0

你也可以upvote我,如果你想:) – iEinstein