Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: johne53 on November 12, 2008, 05:51:24 pm

Title: Program arguments (when debugging)
Post by: johne53 on November 12, 2008, 05:51:24 pm
Suppose I've built a project using C::B and I now want to debug it. The program requires some runtime command-line parameters (say, myprog -d -x -nsome_parameter_name). When debugging in the C::B IDE how do I pass these parameters as arguments to my program, so that it will get launched with the correct setup parameters?
Title: Re: Program arguments (when debugging)
Post by: johne53 on November 13, 2008, 09:14:12 am
Please. somebody tell me this is possible....  :(
Title: Re: Program arguments (when debugging)
Post by: Jenna on November 13, 2008, 09:54:46 am
Try "Project -> Set programs' arguments..."
Title: Re: Program arguments (when debugging)
Post by: johne53 on November 13, 2008, 10:07:37 am
Oops - I should have known it would be something obvious..!  :oops: