3/1/09 3:11 PMCrash reports from the iphone and dwarfdump
My very first iPhone development related blog posting. I've been under
so many NDAs that your head would spin.
The problem to be solved
is:
How do you get crash reports from users without them sending you
a crash report?
I'm using the idea from
Christopher
Atlan for capturing crash reports on the phone. This is handy, in that
it captures the data. (How I do all that is another story) The question
is, how do you turn the dump of addresses into something useful? You may
have heard of the sybolication utility, which requires the crash in a
specific format. And you may have heard of atos which translates an
address into a symbol. However,neither one really works that well with
the type of crash data we have and the .dSYM file we need to map it to.
What
I haven't really seen documented on the web is the use of dwarfdump to
achieve that for you. Here is a sample command:
dwarfdump
--lookup 0x00007855 --arch armv6 MyApp.app.dSYM/