• 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: How to see the arguments of methods from the stack trace during debugging
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to see the arguments of methods from the stack trace during debugging


  • Subject: Re: How to see the arguments of methods from the stack trace during debugging
  • From: Miguel Sanchez <email@hidden>
  • Date: Fri, 11 Nov 2005 10:18:47 -0800

Xcode's debug window shows you the arguments under the >Arguments disclosure triangle in the variables area, you just need to click on the stack frame you want to inspect.
If want to do t his from the command line, then it's


(gdb) frame 14
(gdb) info args

- Miguel

On Nov 11, 2005, at 12:42 AM, Kaspar Fischer wrote:

Hi there,

Is there a way to see for a method in the stack-trace of
Xcode's debug window what arguments it was passed?

For instance, I break on an exception raise and see a
stack-trace like this:

#0 0x928f6508 in -[NSException raise]
#1 0x929a78e8 in -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:]
...
#14 0x938d991c in -[NSController observeValueForKeyPath:ofObject:change:context:]
...


How can I see the arguments to NSController's call
-observeValueForKeyPath:ofObject:change:context:?
This should be possible somehow because we know
the argument types of this call... But how?

Thank you,
Kaspar
_______________________________________________
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

_______________________________________________ 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: How to see the arguments of methods from the stack trace during debugging
      • From: Kaspar Fischer <email@hidden>
References: 
 >How to see the arguments of methods from the stack trace during debugging (From: Kaspar Fischer <email@hidden>)

  • Prev by Date: Re: alias not resolving after a movePath
  • Next by Date: Re: [NSArrayController] finding object
  • Previous by thread: How to see the arguments of methods from the stack trace during debugging
  • Next by thread: Re: How to see the arguments of methods from the stack trace during debugging
  • Index(es):
    • Date
    • Thread