News:

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

Main Menu

Passing command parameters to the debugger

Started by alexchen, July 17, 2013, 01:55:03 AM

Previous topic - Next topic

alexchen

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

Thanks.

Alex

ollydbg

If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

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?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]