• 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: 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


References: 
 >How to see the arguments of methods from the stack trace during debugging (From: Kaspar Fischer <email@hidden>)
 >Re: How to see the arguments of methods from the stack trace during debugging (From: Miguel Sanchez <email@hidden>)
 >Re: How to see the arguments of methods from the stack trace during debugging (From: Kaspar Fischer <email@hidden>)
 >Re: How to see the arguments of methods from the stack trace during debugging (From: Rob Mayoff <email@hidden>)

  • Prev by Date: Re: Delete Character keydown event
  • Next by Date: [CoreData] Undo of insert - how to close the removed object's window?
  • Previous by thread: Re: How to see the arguments of methods from the stack trace during debugging
  • Next by thread: [NSArrayController] finding object
  • Index(es):
    • Date
    • Thread