I have seen many stack traces, both while debugging, and from Crashlytics, that have the following type of appearance:
CoreFoundation __exceptionPreprocess + 126
CoreFoundation -[NSException name]
UIKit -[UIView(Hierarchy) _findFirstSubviewWantingToBecomeFirstResponder] + 502
UIKit -[UIView(Hierarchy) _findFirstSubviewWantingToBecomeFirstResponder] + 606
UIKit -[UIView(Hierarchy) _findFirstSubviewWantingToBecomeFirstResponder] + 606
UIKit -[UIView(Hierarchy) _promoteSelfOrDescendantToFirstResponderIfNecessary] + 24
UIKit __45-[UIView(Hierarchy) _postMovedFromSuperview:]_block_invoke + 176
UIKit -[UIView(Hierarchy) _postMovedFromSuperview:] + 426
UIKit -[UIView(Internal) _addSubview:positioned:relativeTo:] + 1608
UIKit -[UIView(Hierarchy) insertSubview:belowSubview:] + 44
UIKit __53-[_UINavigationParallaxTransition animateTransition:]_block_invoke93 + 406
UIKit -[UIViewAnimationBlockDelegate _didEndBlockAnimation:finished:context:] + 540
UIKit -[UIViewAnimationState sendDelegateAnimationDidStop:finished:] + 204
UIKit -[UIViewAnimationState animationDidStop:finished:] + 78
QuartzCore CA::Layer::run_animation_callbacks(void*) + 252
libdispatch.dylib _dispatch_client_callout + 22
libdispatch.dylib _dispatch_main_queue_callback_4CF$VARIANT$mp + 1524
CoreFoundation __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 8
CoreFoundation __CFRunLoopRun + 1574
CoreFoundation CFRunLoopRunSpecific + 520
CoreFoundation CFRunLoopRunInMode + 108
GraphicsServices GSEventRunModal + 160
UIKit UIApplicationMain + 144
ChirpEEvent main.m line 14
How can I possibly determine what caused this crash? The only break is in main.m.
I run into this a lot, and it is very frustrating. Is there some special debugging switch that I need to throw that will give me better results? How do I debug this when I get it through Crashlytics, or from a customer?
Thanks.