ios - Detect array with issue (Debug mode) -
my app crushing when i'm calling few methods
i can see error message , understand don't know how detect array problem message. have lots of arrays in project. how can know problem come from?
this message:
2014-12-16 15:07:01.830 myapp[2776:1237923] *** terminating app due uncaught exception 'nsrangeexception', reason: '*** -[__nsarraym objectatindex:]: index 0 beyond bounds empty array' *** first throw call stack: (0x2a3eae3f 0x37a98c8b 0x2a2ffc49 0x114c07 0x2d8e515d 0x2d8e3835 0x2d8df47d 0x2d885b37 0x2d2adccd 0x2d2a96b5 0x2d2a953d 0x2d2a8f21 0x2d2a8d25 0x2d2a2bfd 0x2a3b15cd 0x2a3aec8b 0x2a3af093 0x2a2fd621 0x2a2fd433 0x316ab0a9 0x2d8e7809 0x12fee5 0x38018aaf) libc++abi.dylib: terminating uncaught exception of type nsexception
to handle exceptions, xcode click on show breakpoint navigator
click +
button @ bottom side , pop click on add exception breakpoint.
this add exception break points application, try run again , execution stop if runtime exception raised.
if not help, enable zombie environment project, check out thread -
Comments
Post a Comment