Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: stahta01 on September 25, 2026, 11:44:17 pm

Title: Does CB Nightly debugger plugin work with parameters?
Post by: stahta01 on September 25, 2026, 11:44:17 pm
Does CB Nightly debugger plugin work with parameters?

I have not used CB debugger plugin with parameters in a long time does it work still?

"Project -> Set programs' arguments..." does not work for me.

Tim S.
Title: Re: Does CB Nightly debugger plugin work with parameters?
Post by: ollydbg on September 26, 2026, 09:45:35 am
Hi, I just did a test. From the debugger plugin's log message, I can see a line like below:

Code
[debug]>>>>>>cb_gdb:
[debug]> directory F:/code/image-label-gui/
[debug]Source directories searched: F:/code/image-label-gui;$cdir;$cwd
[debug]>>>>>>cb_gdb:
[debug]> set args abc
[debug]>>>>>>cb_gdb:
[debug]> run
[debug]Starting program: F:\code\image-label-gui\bin\Debug\ImageLabelGui.exe abc
...

So, the argument "abc" is passed to the debugee as I can see.
Title: Re: Does CB Nightly debugger plugin work with parameters?
Post by: stahta01 on September 26, 2026, 04:39:44 pm
Thanks for the answer; so, it is likely working and it is user error on my part.

Tim S.
Title: Re: Does CB Nightly debugger plugin work with parameters?
Post by: Pecan on September 26, 2026, 07:20:38 pm
Thanks for the answer; so, it is likely working and it is user error on my part.

Tim S.

Turn on Debugger "Full Log" in MainMenu/Settings/Debugger/Common to see what the debugger plugin did with your arguments.