当我在Debug中运行app simulator时,xcode项目暂停了

时间:2013-05-16 02:04:58

标签: iphone ios xcode debugging

Debug向我展示了这个

  return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));

,输出显示

2013-05-16 04:58:07.496 Scroll Blog[5296:c07] get_recent_post&cat=
2013-05-16 04:58:12.251 Scroll Blog[5296:c07] -JSONValue failed. Error is: No digits in exponent
2013-05-16 04:58:12.252 Scroll Blog[5296:c07] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSArrayM insertObject:atIndex:]: object cannot be nil'
*** First throw call stack:
(0x28eb012 0x2207e7e 0x289eb6a 0x289ea20 0xb43c 0x12796 0xe3726 0x221b6b0 0x1c47765 0x286ef3f 0x286e96f 0x2891734 0x2890f44 0x2890e1b 0x28457e3 0x2845668 0x114bffc 0x2f3d 0x2e65 0x1)
libc++abi.dylib: terminate called throwing an exception
(lldb) 

1 个答案:

答案 0 :(得分:0)

试试Adding an Exception Breakpoint。现在你应该得到一个更有用的堆栈跟踪。