Author Topic: Debugger program specification.  (Read 20733 times)

Offline cetewayo99

  • Single posting newcomer
  • *
  • Posts: 2
Debugger program specification.
« 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  :)

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 12086
    • Travis build status
Re: Debugger program specification.
« Reply #1 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...
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline cetewayo99

  • Single posting newcomer
  • *
  • Posts: 2
Re: Debugger program specification.
« Reply #2 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?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 12086
    • Travis build status
Re: Debugger program specification.
« Reply #3 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.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]