• 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 debug BetterAuthorizationSample
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to debug BetterAuthorizationSample


  • Subject: Re: How to debug BetterAuthorizationSample
  • From: Alexander von Below <email@hidden>
  • Date: Fri, 17 Jul 2009 20:47:43 +0200

There are several ways of going about this. Firstly, you will probably have to go command line gdb.

The easiest way is probably to add the WaitForDebugger key to your tools launchd plist (1)

When the tool is launched, a message in the console will tell you the PID of the tool. Then you can attach to it using the gdb attach command.

HTH

Alex

1) http://developer.apple.com/documentation/Darwin/Reference/ManPages/man5/launchd.plist.5.html

Am 17.07.2009 um 20:17 schrieb Eric Gorr:

I've got a helper tool based on this sample project found at:

http://developer.apple.com/samplecode/BetterAuthorizationSample/index.html

It is launched from my main application, but I now have a need to set a breakpoint and debug this tool and I am not certain how to get the Xcode debugger to stop once the tool has been launched.

Can anyone provide some guidance on how this is possible?

Thank you.


_______________________________________________ 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

_______________________________________________ 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
  • Follow-Ups:
    • Re: How to debug BetterAuthorizationSample
      • From: Eric Gorr <email@hidden>
    • Re: How to debug BetterAuthorizationSample
      • From: Alexander von Below <email@hidden>
References: 
 >How to debug BetterAuthorizationSample (From: Eric Gorr <email@hidden>)

  • Prev by Date: How to debug BetterAuthorizationSample
  • Next by Date: Re: How to debug BetterAuthorizationSample
  • Previous by thread: How to debug BetterAuthorizationSample
  • Next by thread: Re: How to debug BetterAuthorizationSample
  • Index(es):
    • Date
    • Thread