How to catch exception when debugging in Xcode
While you encounter NSRangeException in NSArray objectAtIndex,
By default you can't see where it happened, only got this exception message.
To see where it raise, go to breakpoints view(Cmd+6), presss + to catch all exception.