Author Topic: Project wizard and debugger  (Read 3249 times)

Offline electrolot

  • Multiple posting newcomer
  • *
  • Posts: 18
Project wizard and debugger
« 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?

mariocup

  • Guest
Re: Project wizard and debugger
« Reply #1 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".


Offline electrolot

  • Multiple posting newcomer
  • *
  • Posts: 18
Re: Project wizard and debugger
« Reply #2 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.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Project wizard and debugger
« Reply #3 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...
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ