• 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
Re: Examining the Call Stack
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Examining the Call Stack


  • Subject: Re: Examining the Call Stack
  • From: Andrew Farmer <email@hidden>
  • Date: Tue, 21 Dec 2004 23:16:50 -0800

On 21 Dec 2004, at 22:39, email@hidden wrote:
How can I exam the call stack programatically to find out which object's method called another method?

Don't. Pass an extra parameter (id sender?) instead.

There *are* ways to do this programmatically - gdb can print a full call stack - but they're difficult to use. Most importantly, there's no standard call to do it; you'd have to write a lot of code.

Attachment: PGP.sig
Description: This is a digitally signed message part

 _______________________________________________
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: Ken Ferry <email@hidden>
References: 
 >Examining the Call Stack (From: 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: Examining the Call Stack
  • Previous by thread: Examining the Call Stack
  • Next by thread: Re: Examining the Call Stack
  • Index(es):
    • Date
    • Thread