Determining caller of method
-
Hi,
is there an easy way to determine the object that called a given
method? I need this for a special debug case I have.
Thanks,
Andreas
_______________________________________________
MacOSX-dev mailing list
<MacOSX-dev...>
http://www.omnigroup.com/mailman/listinfo/macosx-dev -
In ObjC using the debugger just break at the method and issue a back
trace command, i.e. "bt"
Et voila! (TA DAH!)
Fabien
On Aug 26, 2004, at 1:50 PM, Andreas Hoeschler wrote:> Hi,
>
> is there an easy way to determine the object that called a given
> method? I need this for a special debug case I have.
>
> Thanks,
>
> Andreas
_______________________________________________
MacOSX-dev mailing list
<MacOSX-dev...>
http://www.omnigroup.com/mailman/listinfo/macosx-dev


