Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS: The + number values in backtraces (in crash logs)

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

like image 819
Mo Moosa Avatar asked Jan 14 '13 09:01

Mo Moosa


1 Answers

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.

like image 135
iDroid Avatar answered Sep 30 '22 19:09

iDroid