BalestraPatrick
BalestraPatrick

Reputation: 10144

How can I exactly know which object caused my crash?

I have this crash which happens randomly in my app. I have many objectAtIndex in my code, how can I know the name of the array which caused he crash?

enter image description here

Is there a fast way to read the hexadecimal numbers?

Thanks a lot!

Upvotes: 1

Views: 65

Answers (1)

Mani Kandan
Mani Kandan

Reputation: 629

You can figure out where the crash happens by setting exception breakpoint in your breakpoint navigator. Exception BreakPoint Setup 1

enter image description here

Now enable the breakpoints and run your code. Now It stops at the step where the crash happens.

Upvotes: 3

Related Questions