• 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: Sean McBride <email@hidden>
  • Date: Fri, 25 Jul 2014 10:29:08 -0400
  • Organization: Rogue Research Inc.

On Fri, 25 Jul 2014 22:21:51 +0800, Roland King said:

>I have an OS X crash report, I have the archived version of the app with
>dSYM, I need to symbolicate it to figure out what I broke this time.
>
>The Xcode docs (App Distribution Guide: Analyzing Crash Reports) tell me
>to drag the crash report to the Device Logs in Xcode, or use Import,
>nothing happens, it's not imported. Looking at that list of crash
>reports there they are all iOS, does Xcode no-longer support OSX
>crashes???  (If so I have to say REALLY?) Xcode 5.1 release notes talk
>about how Instruments is better now at finding symbols but I'm not using
>Instruments.
>
>I tried a few googles, most of them are old and suggest using gdb, long
>since gone gdb has, a few talk about something called atos, that seems
>very manual for a modern operating system. Is this really the best we
>have for OSX crashes these days?

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

Cheers,

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada



 _______________________________________________
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: Roland King <email@hidden>
References: 
 >How do you get Xcode to symbolicate an OS X crash report? (From: Roland King <email@hidden>)

  • Prev by Date: How do you get Xcode to symbolicate an OS X crash report?
  • Next by Date: Re: Embedding a Framework
  • Previous by thread: 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