Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

No call stack on Exception in xCode 4

I got an exception I can't back trace. I would like to know where the exception is thrown. Is there an option for that in xCode 4.2? As you can see the call stack is not much of a help. The only thing I know is that Iam trying to access an item in a NSArray at a faulty index.

All ideas are welcomed. Thanks!

enter image description here

like image 335
Konrad77 Avatar asked Mar 03 '12 12:03

Konrad77


Video Answer


1 Answers

Set a breakpoint on objc_exception_throw and that will stop the program on that message.

EDIT ... Or just set the Exception Breakpoint in Xcode. Too used to doing this stuff directly in gdb.

like image 122
MyztikJenz Avatar answered Sep 22 '22 21:09

MyztikJenz