User forums > General (but related to Code::Blocks)

Project wizard and debugger

(1/1)

electrolot:
Is it possible to set debugger options in project wizard like additional commands? I can set compiler and linker options but what about debugger?

mariocup:
Hi electrolot,

you can't specify additional gdb command line options, but you can send additional commands to the debugger. Use the menu project ->properties. In the opening dialogue you have to select the tab debugger and then add your gdb commands in the tab "additional commands".

electrolot:
Hi Mariocup,

I know that I can send additional commands to the debugger. I use it.
I mean that I create my wizard script and I want add this command in script. For example I use:

project.AddCompilerOption(_T("-fno-common"));
project.AddLinkerOption(_T("-T mychip.ld"));

for add compiler and linker options.
How add debugger options in script? I can't find any scripting commands for it.

MortenMacFly:

--- Quote from: electrolot on January 04, 2009, 10:16:12 am ---How add debugger options in script? I can't find any scripting commands for it.

--- End quote ---
To my knowledge these functions are not exposed to the scripting engine as of now. It wouldn't be too hard to do though...

Navigation

[0] Message Index

Go to full version