User forums > Using Code::Blocks

Passing command parameters to the debugger

(1/1)

alexchen:
Where do I specify the command line parameters to pass to the debugger?

Thanks.

Alex

ollydbg:
See this screen shot below:

alexchen:
That is not what I get.  I am using CodeBlocks 12.11 on Ubuntu 13.04.  If I set the parameter "-help" in the Debugger settings, I get the following result in the debugger console:

Starting debugger: /usr/bin/gdb -nx -fullname  -quiet -help -args /home/dev/Linux/Debug64/tool

The parameter is passed to the debugger, not to the target.
(See the attached screen shot of the debugger settings.)

oBFusCATed:
Have you tried to use Project -> Set project's arguments?

Navigation

[0] Message Index

Go to full version