I use NSSetUncaughtExceptionHandler
to print the stack trace to local file in iPhone, which will be sent to our server next time the app launches. Then I can examin
I strongly recommend enabling Exception Breakpoint in Xcode. It will stop execution of your code on the exact line which crashes your application. So you do not need to worry about which of the array cause of the crash. *** -[__NSArrayI objectAtIndex:]: index 0 beyond bounds for empty array
Adding exception breakpoint