Question

I'm trying to learn how to understand crash logs better and am doing OK so far. I've noticed one part that wasn't explained in Apple's Technical Note TN2151. This is the + number value at the end of each part of the backtrace.

Here's an example:

6   UIKit    0x38bf3e7c -[UIViewController window:willAnimate:duration:] **+ 704**

What does the part in bold mean?

Much thanks

Was it helpful?

Solution

The number stands for bytes offset from the entry point of the method to the instruction which caused the crash.

Check out this thread describing how to read and understand stack traces. The tutorial by Ray Wenderlich about dealing with app crashes under iOS in general is also a very good source.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top