我刚刚更新到XCODE 4.2。与以前的版本不同,当我的应用程序崩溃时,它会向我显示崩溃的代码行,它在控制台中显示了这一点:
2011-10-20 08:50:47.342 PipeTracker[19467:15503] -[Job objectForKey:]: unrecognized selector sent to instance 0x8085500
2011-10-20 08:50:47.343 PipeTracker[19467:15503] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[Job objectForKey:]: unrecognized selector sent to instance 0x8085500'
*** First throw call stack:
(0x1ca1052 0x1e32d0a 0x1ca2ced 0x1c07f00 0x1c07ce2 0x690a 0x22071d 0x220952 0xaa886d 0x1c75966 0x1c75407 0x1bd87c0 0x1bd7db4 0x1bd7ccb 0x1b8a879 0x1b8a93e 0x190a9b 0x2d1d 0x2c95)
我需要更改设置吗? 感谢。
答案 0 :(得分:9)
您是否丢失了异常断点?转到Breakpoints导航器,单击+按钮,然后添加Exception断点。