Re: Extract information from Mac OS X crashlog
Re: Extract information from Mac OS X crashlog
- Subject: Re: Extract information from Mac OS X crashlog
- From: Kevin Molcard <email@hidden>
- Date: Thu, 26 Sep 2013 18:08:20 +0200
Unfortunately I get the same result by setting manually the dSYM file.
After some more investigation, it seems that it is because I use a
static library.
If I got a crash in a file that is compiled in the application target I
can get the line number.
However if the crash is occuring in a file that is from the static
library I always get the "No line number information available for
address" message.
If I am not wrong, the static library is not position-independent code
so the slide is 0 (right?).
Should I use some particular flags in the static library target?
Kevin
On 9/26/13 8:39 AM, Kevin Molcard wrote:
Hi,
thanks for the information, I will read your document and do some tests.
I was not aware of the add-dsym command. I was putting the dSYM file
in the same directory than my app.
Kevin
On 9/25/13 5:37 PM, Jerry Krinock wrote:
On 2013 Sep 25, at 00:45, Kevin Molcard <email@hidden>
wrote:
Unfortunately, once I have stripped symbols, no matter the value of
the|STRIP_STYLE|flag, the product I am not able to get the exact
line number. From what I read in the TN, it seems to be possible.
The procedure given in TN2123 assumes that gdb will find the dSYM
with Spotlight, which doesn't always work. To fix that, give it your
dSYM manually using the add-dsym command.
For exact details, and other tips I've collected which are not in
TN2123, read this…
https://gist.github.com/jerrykrinock/6701316
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
--
Kevin Molcard
Sofware Engineer
ARTURIA
30, chemin du Vieux Chene
38240 Meylan - France
Tel: +33 438 020 555
Fax: +33 438 020 525
http://www.arturia.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden