Re: How do you get Xcode to symbolicate an OS X crash report?
Re: How do you get Xcode to symbolicate an OS X crash report?
- Subject: Re: How do you get Xcode to symbolicate an OS X crash report?
- From: Roland King <email@hidden>
- Date: Sat, 26 Jul 2014 07:37:55 +0800
See: <http://lldb.llvm.org/symbolication.html>
First, you'll need to find-replace all tabs->spaces in the .crash file, due to <rdar://15948413> lldb gets confused by tabs. Then:
(lldb) command script import lldb.macosx.crashlog (lldb) crashlog ~/Library/Logs/DiagnosticReports/foo.crash
Than you Sean, you are now an official TechNote (why isn't there an official TechNote about this, or why doesn't Xcode do it for OS X).
How on earth however is it finding the symbols to symbolicate it? As far as I know the only place they exist is in my ~/Library/Developer/Xcode/Archives .. directory from when I archived the code before shipping it. The crashlog just has /Applications/<appname> buried in it. In this particular case I happen to have the same version of the app which crashed in /Applications, but that's often not the case, how would I have been able to relate the crash log to a given archived version of the code and dSYMs?
I'd like to 'freeze dry' this crash before I lose it by keeping the crash log and the archived version of the binary + dSYMs in a directory, but next time I want to mess with it I'll need to know how to tell lldb 'use this crashlog against this binary+dSYM'. |
_______________________________________________
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