• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Examining the Call Stack
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Examining the Call Stack
      • From: Jérémie Banier <email@hidden>
    • Re: Examining the Call Stack
      • From: Andrew Farmer <email@hidden>
  • Prev by Date: Re: I need some help with the security framework please WAS: I cant get my helper tool to launch
  • Next by Date: Re: I need some help with the security framework please WAS: I cant get my helper tool to launch
  • Previous by thread: Re: arbitrary date formats based on user prefs
  • Next by thread: Re: Examining the Call Stack
  • Index(es):
    • Date
    • Thread