Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

farmerdoug

macrumors 6502a
Original poster
Sep 16, 2008
541
0
If I've written a command line project but want to run it in the Xcode Debugger where do I put the command line arguements?

Thanks.
 
You are brave; admitting to using Vista here.

Found the spot; tried; failed. Will try again.
 
It's in the executable environments. However, I find working from the terminal with bash to be easier then mucking with xCode environment variables. Since, your effectively only using XCode as an IDE now.
 
Use the executable inspector to add the command-line arguments. Select your executable file from the Groups and Files list and click the Info button in the project window toolbar. Doing this opens the executable's inspector. Click the Arguments tab in the inspector. From there you can add your command-line arguments.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.