• 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
Getting args for methods called in other frameworks (Appkit)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Getting args for methods called in other frameworks (Appkit)


  • Subject: Getting args for methods called in other frameworks (Appkit)
  • From: email@hidden
  • Date: Mon, 12 Dec 2005 15:41:49 -0800

Hi all,

Sometimes I run into a crash or a hang, and while I can debug into my own code, sometimes something *my code* does causes a crash somewhere (for example a released object gets a release sent from somewhere in the frameworks or something gets delayed until the next event in the runloop) so its hard to find the cause...

What I need is to be able to get the arguments to a method or function in the call stack, but not in my code.
I tried "info args" etc but nothing can be got except for the top method in the stack AFAIK.... (po &r0)


Can anyone help?

As an example in : -[NSNotificationCenter postNotificationName:object:userInfo:]
I want to get the args passed to this method, but I cant... even with the debug version of appkit.


Thanks in advance.

Andre




_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Prev by Date: passing NULL to non-pointer
  • Next by Date: Different structure sizes
  • Previous by thread: passing NULL to non-pointer
  • Next by thread: Different structure sizes
  • Index(es):
    • Date
    • Thread