News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Program Arguments and Debugging

Started by terranim, December 12, 2007, 05:01:02 PM

Previous topic - Next topic

terranim

I've recently started using Code::Blocks on Windows and have got it compiling using the Visual Studio 2005 compiler. I've also installed the MS Debugging Tools for Windows in an attempt to get debugging working as well.

The problem is this:
I can configure program arguments from the Project menu, and these are used correctly when running my program from the build menu. However, if I try to initiate debugging then these program arguments are not being used! 

Have I missed a configuration option somewhere?

Regards,
Dan

Jenna

Did you chose the correct target under "Project -> Set programs' arguments...".
For me it works fine on Linux and W2k, both with gcc as compiler.

terranim

Yep, chose the correct target.

Was wondering if it was something to do with using the cdb.exe from the MS Debugging Tools for Windows?

Jenna

I just started downloading th MS Debugging Tools to look at it.
But it will need some time. I still have to use ISDN to connect to internet  :(.