Re: Stack Trace Using Google Toolbox for Mac
Re: Stack Trace Using Google Toolbox for Mac
- Subject: Re: Stack Trace Using Google Toolbox for Mac
- From: Rob Keniger <email@hidden>
- Date: Sat, 7 Feb 2009 11:29:09 +1000
On 06/02/2009, at 10:04 PM, Andreas Grosam wrote:
Or does it use some other kind of "reflection", specific to
Cocoa, that does not need the symbols?
This could be the case, since there is introspection.
Looking at the code, it uses the +callStackReturnAddresses method of
NSThread to retrieve the call stack, and then uses various Objective-C
runtime functions to get class name information etc.
It's nice, in fact the whole Google Toolbox is pretty cool.
--
Rob Keniger
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden