Re: Displaying crash log stack trace symbolically
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