• 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: Debug - Logging function Parameters
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Debug - Logging function Parameters


  • Subject: Re: Debug - Logging function Parameters
  • From: Chris Espinosa <email@hidden>
  • Date: Tue, 4 Oct 2005 19:27:47 -0700


On Oct 4, 2005, at 5:43 PM, Tommy Nordgren wrote:

Is it possible to log the parameters, when a breakpoint is set on a built in Cocoa Method?

Yes, in Xcode 2.1 and later. You'd set a Symbolic Breakpoint (double-click the blue cube), enter the prototype of the function (e.g. '-[NSView display]', but with all its params), and use the Debugger Command action to 'po' the parameters.


http://developer.apple.com/documentation/DeveloperTools/Conceptual/ XcodeUserGuide21/Contents/Resources/en.lproj/ 06_03_db_controlling_execution/chapter_41_section_2.html#//apple_ref/ doc/uid/TP40001871-CH241-DontLinkElementID_200

_______________________________________________
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


References: 
 >Debug - Logging function Parameters (From: Tommy Nordgren <email@hidden>)

  • Prev by Date: Re: Carbon app converting from Xcode 1.5 to Xcode 2.1
  • Next by Date: Re: Carbon app converting from Xcode 1.5 to Xcode 2.1
  • Previous by thread: Debug - Logging function Parameters
  • Next by thread: Project relative paths to info.plist
  • Index(es):
    • Date
    • Thread