• 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: Herr Witten <email@hidden>
  • Date: Thu, 23 Dec 2004 11:36:02 -0500

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

I did not want to do this, but it seems to be the easiest route. I will probably go with this, since manually traversing the call stack does not seem to be a normal thing. I don't even know how to do it.

..but it's a little easier than that sounds, because the good folks of
cocoadev have already written the code.

Unfortunately, I cannot spend the time launching a subprocess. I had hoped for a more direct solution. Nevertheless, thank you very much.

you can always write a couple of tracing macro something like
#define TRACE_FUNC(x) NSLog(@"0x%x->%s", self, x);
then
void myfunc(int a ....) {
TRACE_FUNC("myfunc")
.....
}

Thank you very much for the reply, but I need a way to get the address of an object earlier in the call stack.
 _______________________________________________
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: Steven Kramer <email@hidden>
  • Prev by Date: (no subject)
  • Next by Date: "Can't create new document" alert unwanted
  • Previous by thread: Re: Examining the Call Stack
  • Next by thread: Re: Examining the Call Stack
  • Index(es):
    • Date
    • Thread