Author Topic: Supply *argv in debug mode  (Read 6532 times)

bmoviehorror

  • Guest
Supply *argv in debug mode
« on: October 27, 2009, 09:16:20 pm »
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

  • Guest
Re: Supply *argv in debug mode
« Reply #1 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.
« Last Edit: October 27, 2009, 10:13:12 pm by zabzonk »

bmoviehorror

  • Guest
Re: Supply *argv in debug mode
« Reply #2 on: October 27, 2009, 09:58:20 pm »
Superb. Thank you very much!

Offline joex26

  • Single posting newcomer
  • *
  • Posts: 4
Re: Supply *argv in debug mode
« Reply #3 on: October 28, 2009, 06:25:55 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

  • Guest
Re: Supply *argv in debug mode
« Reply #4 on: October 28, 2009, 06:40:49 pm »
> it would be very annoying to pop up every time.

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