• 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: Eric Gorr <email@hidden>
  • Date: Fri, 17 Jul 2009 15:11:23 -0400

On Jul 17, 2009, at 3:01 PM, Matthew Mashyna wrote:

On Jul 17, 2009, at 2:17 PM, Eric Gorr wrote:

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.


I think if you set your target to the tool and set the active executable to the main application you should be able to hit breakpoints when you debug. This is how you debug plug-ins and system preferences.

Thank you for the suggestion. I already tried this, but this does not work.


I believe the reason is that it is a valid program which Xcode can launch and does so. Because the program expects command line arguments, it quickly fails.

Unfortunately, I am not certain how to passes on the command line the same information being passed by the application. Regardless, if I could, I would still prefer to be able to run my application, which executes this helper tool, and then debug the helper tool.


_______________________________________________ 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: Caleb Strockbine <email@hidden>
References: 
 >How to debug BetterAuthorizationSample (From: Eric Gorr <email@hidden>)
 >Re: How to debug BetterAuthorizationSample (From: Matthew Mashyna <email@hidden>)

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