问题
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!

回答1:
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.
来源:https://stackoverflow.com/questions/9546174/no-call-stack-on-exception-in-xcode-4