• 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: Displaying crash log stack trace symbolically
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Displaying crash log stack trace symbolically


  • Subject: Re: Displaying crash log stack trace symbolically
  • From: Thomas Engelmeier <email@hidden>
  • Date: Wed, 31 Aug 2005 10:06:30 +0200

 > >On a related issue, is there any function or way to print a stack
 > >crawl out to STDERR/Console/wherever?  For things like assertions and
 > >such, I'd like to print a stack crawl, preferably with symbols, but
 > >I'm not sure how to do it.
 >
 > See Quinn's MoreIsBetter, specifically MoreBacktrace:
 > <http://developer.apple.com/samplecode/MoreIsBetter/listing41.html>

I don't suppose that code works on Intel Macs?  Anybody have any idea
what it would take to port it?

Just some time. The code traverses Mach-O library containers, so there for sure will be "unexpected" additional containers, and it probably still will attempt to look into the PPC symbol container.


In order to have it fully functional, you will probably want to soup it up, anyway (it is based on the assumption of an single executable with all interesting symbols in it - something that didn't apply to my plugin-type binary).

Regards,
	Tom_E

_______________________________________________
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


  • Prev by Date: Re: U vs. T in "nm -g" output..
  • Next by Date: Re: U vs. T in "nm -g" output..
  • Previous by thread: Re: Displaying crash log stack trace symbolically
  • Next by thread: Re: Displaying crash log stack trace symbolically
  • Index(es):
    • Date
    • Thread