• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How do you get Xcode to symbolicate an OS X crash report?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: How do you get Xcode to symbolicate an OS X crash report?
      • From: email@hidden
References: 
 >How do you get Xcode to symbolicate an OS X crash report? (From: Roland King <email@hidden>)
 >Re: How do you get Xcode to symbolicate an OS X crash report? (From: Sean McBride <email@hidden>)

  • Prev by Date: Autosizing an NSTextView to NSWindow size
  • Next by Date: Re: Autosizing an NSTextView to NSWindow size
  • Previous by thread: Re: How do you get Xcode to symbolicate an OS X crash report?
  • Next by thread: Re: How do you get Xcode to symbolicate an OS X crash report?
  • Index(es):
    • Date
    • Thread