User forums > Using Code::Blocks

Program arguments (when debugging)

(1/1)

johne53:
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?

johne53:
Please. somebody tell me this is possible....  :(

Jenna:
Try "Project -> Set programs' arguments..."

johne53:
Oops - I should have known it would be something obvious..!  :oops:

Navigation

[0] Message Index

Go to full version