Skip navigation.
 
mlNSlogging climbing the stack
FROM : Andrei Freeman
DATE : Wed Aug 18 00:20:41 2004

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Allo all,

I am trying to climb the call stack and get the calling method's name.

The idea being I'm trying to see who is calling my function in the app.

NSLog(@"-[myObj myFunc] in from caller:%@", [some mysteryfunction]);

I know the data is in there somehow because gdb has access to it during
debug.

Any ideas how I can do this?

Thanks!

- -Andrei
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFBIoTGei4q9cz8GHARAntvAJ9hXcI3Kld9Q1dXOsZsHiZf8N/kpgCcC7pe
BejwkywqQiji6NYXzQLIyIs=
=TQKk
-----END PGP SIGNATURE-----
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

Related mailsAuthorDate
mlNSlogging climbing the stack Andrei Freeman Aug 18, 00:20
mlRe: NSlogging climbing the stack John C. Randolph Aug 18, 02:15