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: Kaspar Fischer <email@hidden>
- Date: Tue, 15 Nov 2005 10:28:11 +0100
On 12.11.2005, at 17:46, Rob Mayoff wrote:
+---------- On Nov 12, Kaspar Fischer said:
| So is there a way to see arguments of methods with known
| signature (but possibly unknown source code)?
Not in general. If you put a breakpoint on the function, then when the
breakpoint is triggered you can find the first few integer/pointer
arguments in registers $r5 and up, but the function doesn't have to
keep them there. In your example, unless frame 14 was just entered and
there is no frame 15, you can't be sure what the original arguments
were.
Thanks a lot for all your answers. Rob's hint finally set me on
the right track, and indeed if I break on the function (from
frame 14, say), I can see the arguments in $r5 and up! Great,
this help me a lot.
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