Reputation: 877
I got several crash reports in x-code(reported by users) but unable to find out what is it for. I opened it in project but it doesn't show me code line where crash occurred (obviously i tried clicking on every line of the stack trace).
Upvotes: 3
Views: 2442
Reputation: 4451
If you want to trigger Crashes in your released builds so you should integrate crash reporter in your project and Crashlytics
is one of them.
Integrate it and release your build to client or tester. Whenever it will crash you will be notify by email with the Name of controller with line number.
If you are Debugging:
You must use Exception Breakpoint
for this:
In your Project Navigator
Select Breakpoint
and Select + Option
like below:
Ater that you will prompt with :
It will automatically Enable Exception Breakpoint
.
Upvotes: 5