问题
I have a simple question, I suppose, but I cannot find anything.
What's the number at the end of line 6, + 429
?
回答1:
It means that the return address for stack frame 6 is 429 bytes past the start of the -[#### tableView:cellForRowAtindexPath:] function. It might be inside that function, or it might be past the end of the function but not inside any other known function.
UPDATE
In order for the symbolicator to turn those return addresses into line numbers, you must have the .dSYM
file that the linker created when it created the executable file. Each executable is tagged with a UUID, and the .dSYM
file is tagged with the same UUID. The symbolicator looks at the UUID of the executable and uses Spotlight (OS X's filesystem search support) to find the matching .dSYM
. If you didn't save the .dSYM
, you will have a hard time turning the addresses into line numbers. Note that when you tell Xcode to build an archive (Product > Archive), the archive contains both the executable and its matching .dSYM
.
来源:https://stackoverflow.com/questions/7861431/what-is-the-number-next-to-the-method-name-in-a-stack-trace