title: Tracing a crash through Flurry Analytics
body: <p>I am using Flurry analytics and i've noticed 1 or 2 people have been experiencing crashes and I really really want to fix it for them, however it's annoying as they haven't got in touch to tell me about the crash so I don't even know which viewController to investigate.</p>
  
  <p>I'm using the following exception handler for flurry:</p>
  
  <pre><code>void uncaughtExceptionHandler(NSException *exception) {
      NSArray *backtrace = [exception callStackSymbols];
      NSString *platform = [[UIDevice currentDevice] model];
      NSString *version = [[UIDevice currentDevice] systemVersion];
      NSString *message = [NSString stringWithFormat:@"Device: %@. OS: %@. Backtrace:\n%@",
                           platform,
                           version,
                           backtrace];
  
      [Flurry logError:@"Uncaught" message:message exception:exception];
  }
  </code></pre>
  
  <p>however the backtrace gets truncated and all I get is this:</p>
  
  <blockquote>
    <p>NSRangeException: <em>*</em> -[__NSArrayM objectAtIndex:]: index 2 beyond
    bounds [0 .. 1] Msg: Device: iPad. OS: 5.1.1. Backtrace: ( 0
    CoreFoundation 0x32b5e8a7 __exceptionPreprocess + 186 1
    libobjc.A.dylib 0x34b03259 objc_exception_throw + 32 2 CoreFoundation
    0x32aa79db -[__NSA</p>
  </blockquote>
  
  <p>which doesn't really help me.</p>
  
  <p>Are there any other methods I could use to track and report back the error?
  Or maybe at the very least is it possible to show a message on the screen at the point of a crash so I can add a message to please get in touch?</p>
  
  <p>Thanks</p>