User forums > Using Code::Blocks

Supply *argv in debug mode

(1/1)

bmoviehorror:
Hi all,
I've just downloaded code::blocks and it is all very intuitive so far. I'm trying to debug a console application and was wondering if there is a way of passing in command line parameters to the executable when debugging begins. Many thanks

zabzonk:
The Project menu has a Set Programs Arguments option to do this.

Really, all IDEs (this is not just a CB problem) should provide a per project build  configurable dialog to provide paramters that pops up EVERY TIME (also configurable)  the exexcutable is run.

bmoviehorror:
Superb. Thank you very much!

joex26:

--- Quote from: zabzonk on October 27, 2009, 09:35:40 pm ---The Project menu has a Set Programs Arguments option to do this.

Really, all IDEs (this is not just a CB problem) should provide a per project build  configurable dialog to provide paramters that pops up EVERY TIME (also configurable)  the exexcutable is run.

--- End quote ---

I don't agree with you. I think it would be very annoying to pop up every time.

zabzonk:
> it would be very annoying to pop up every time.

which is why I said: "EVERY TIME (also configurable)"

Navigation

[0] Message Index

Go to full version