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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to