Re: How to see the arguments of methods from the stack trace during debugging
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