Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: cetewayo99 on February 27, 2013, 05:54:53 pm

Title: Debugger program specification.
Post by: cetewayo99 on February 27, 2013, 05:54:53 pm
Hi
I've used other IDE's but I'm completely new to CB. First time I try to start debugger it says:

ERROR: You need to specify a debugger program in the debuggers's settings.
(For MinGW compilers, it's 'gdb.exe' (without the quotes))
(For MSVC compilers, it's 'cdb.exe' (without the quotes))

Problem is that Settings>Debugger contains no place to enter 'gdb.exe', the nearest is to choose a debugger type.
I must miss something ...
Thankful for all help  :)
Title: Re: Debugger program specification.
Post by: oBFusCATed on February 27, 2013, 08:01:12 pm
Have you tried to set it at: Settings->Debugger->GDB/CDB Debugger->Default->Executable path ?

p.s. stating the version of CB/OS/Compiler could be helpful most of the time...
Title: Re: Debugger program specification.
Post by: cetewayo99 on February 28, 2013, 09:26:15 am
Thanks
 I uninstalled the version I had downloaded 'codeblocks-12.11-setup.exe' and downloaded
'codeblocks-12.11mingw-setup.exe' instead and now there is no problem with Debugging.
I see what you mean about beeing more specific and will be so in the future.
Is 'codeblocks-12.11-setup.exe' some sort of stripped version for experienced users?
Title: Re: Debugger program specification.
Post by: oBFusCATed on February 28, 2013, 09:54:38 am
Yes, it doesn't include a compiler/debugger. Read more carefully what is written on the download page, it is there, but someone has to read it.