Examining the Call Stack
Examining the Call Stack
- Subject: Examining the Call Stack
- From: email@hidden
- Date: Wed, 22 Dec 2004 01:39:19 -0500
How can I exam the call stack programatically to find out which
object's method called another
method?
In other words, lets say class A has a method aMethod which sends class
B's method bMethod to
some object of class B. Then when an object of class A is sent the
aMethod message, an object of
class B will eventually receive a bMethod while aMethod is executing. I
want bMethod to output that it
was sent to the B object in the aMethod of the A object (the address of
the A object, etc...).
How can I do this? Thanks.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden