News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Supply *argv in debug mode

Started by bmoviehorror, October 27, 2009, 09:16:20 PM

Previous topic - Next topic

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

#1
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


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.

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)"