I'm getting an error in debugger. In Thread my app crash on line:
0x37265f78: ldr r3, [r4, #8]
with:
Thread 1: EXC_BAD_ACCESS (code=1, address=0x50000008)
How to find out where app actually crash? There is a something like "call stack"?
You can use the Mac Console app to view any crash logs from your Mac or from the Simulator. And on the device under Settings, Privacy, Analytics, Analytics Data you can see all of the logs that are saved to disk and your users can share a log directly from this screen.
Alternatively, you can actually start Xcode from the terminal (by typing /Applications/Xcode-beta. app/Contents/MacOS/Xcode in the terminal window). If you do that, all the logs will be written to the terminal console.
You have to set Exception Breakpoint
Go to the Breakpoints navigator, click the + button at the bottom, and add an Exception Breakpoint.
Now you will know the exact line where any of your exception will occur (e.g. line of crash). best of luck!!
http://www.raywenderlich.com/10209/my-app-crashed-now-what-part-1
Best tutorial for trace the error.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With