• 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: debugging a command line app in xcode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: debugging a command line app in xcode


  • Subject: Re: debugging a command line app in xcode
  • From: Chris Espinosa <email@hidden>
  • Date: Thu, 9 Jun 2005 19:11:44 -0700


On Jun 9, 2005, at 6:44 PM, Ken Turkowski wrote:

How can I use the xcode debugger to debug a command line program? I'd like to feed some arguments to it too.

If you app builds in Xcode, there's a group called Executables. Disclose it, select the Executable for your target, then choose Get Info. In the Arguments pane you can set the args and env variables.

I like to set different sets of args to represent different test cases, then use the check marks to turn them on and off.

If your project doesn't build the executable, you can do like Cameron says and create a custom executable to point to your built tool.

Chris
_______________________________________________
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: 
 >debugging a command line app in xcode (From: Ken Turkowski <email@hidden>)

  • Prev by Date: Re: debugging a command line app in xcode
  • Next by Date: Re: Porting Foundation Tools to Intel
  • Previous by thread: Re: debugging a command line app in xcode
  • Next by thread: Migrating from MPW CFM to XCODE Mach-O
  • Index(es):
    • Date
    • Thread