Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: electrolot on January 03, 2009, 11:55:20 pm

Title: Project wizard and debugger
Post by: electrolot on January 03, 2009, 11:55:20 pm
Is it possible to set debugger options in project wizard like additional commands? I can set compiler and linker options but what about debugger?
Title: Re: Project wizard and debugger
Post by: mariocup on January 04, 2009, 12:29:31 am
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".

Title: Re: Project wizard and debugger
Post by: electrolot on January 04, 2009, 10:16:12 am
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.
Title: Re: Project wizard and debugger
Post by: MortenMacFly on January 04, 2009, 11:19:42 am
How add debugger options in script? I can't find any scripting commands for it.
To my knowledge these functions are not exposed to the scripting engine as of now. It wouldn't be too hard to do though...