News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Debugger executable not set problem

Started by Lord Yu, July 30, 2005, 11:22:27 AM

Previous topic - Next topic

Lord Yu

Hi all,

I'm unfamiliar with MinGW debugger   :(  , when I go to debug I get an debugger executable not set error, so I go to the settings/configure plugins/compiler  :?.

If it is a debugging problem should I go to the GDB debugger instead, if so what are the debugging commands?

Thanks

mandrav

Go to "Settings->Compiler->Programs" and make sure "Debugger" is set to "gdb.exe".
gdb.exe must exist in the configured "Compiler's installation directory", in the "bin/" subdir.

Yiannis.
Be patient!
This bug will be fixed soon...

Orlando

Same problem here. The code compiles (MingW) but the debugger claims 'The debuger executable is not set'. Settings are ok (otherwise it wouldn`t compile). Maybe it's a problem specific to Win98.  :? 

squizzz

Maybe it has something to do with this:

Quote from: mandrav on July 26, 2005, 09:11:04 AM
Note for Win98/ME users:
Debugging with Code::Blocks-MinGW bundle under Windows 98/ME will not work out of the box for you. This is because we 've updated the included GDB to version 6.3 which works on NT-class machines only (NT/2000/XP/2003).
All is not lost however. You can go to the MinGW site and download an older GDB version which works for Windows 98/ME. Code::Blocks will happily use it, as long as you install it in the Code::Blocks installation folder ;)

Do you use C::B with MinGW bundle?
this space is for rent

Orlando

Quote from: squizzz on August 08, 2005, 01:47:12 AM
Maybe it has something to do with this:

Quote from: mandrav on July 26, 2005, 09:11:04 AM
Note for Win98/ME users:
Debugging with Code::Blocks-MinGW bundle under Windows 98/ME will not work out of the box for you. This is because we 've updated the included GDB to version 6.3 which works on NT-class machines only (NT/2000/XP/2003).
All is not lost however. You can go to the MinGW site and download an older GDB version which works for Windows 98/ME. Code::Blocks will happily use it, as long as you install it in the Code::Blocks installation folder ;)

Do you use C::B with MinGW bundle?

gdb --v shows:
GNU gdb 5.2.1

Shall I copy gdb.exe to the Code::Blocks installation folder? Sounds strange ... :?

rickg22

No, copy gdb.exe where your MinGW installation is (this is, replace the gdb.exe with your own copy)

Orlando

Quote from: rickg22 on August 08, 2005, 11:36:32 PM
No, copy gdb.exe where your MinGW installation is (this is, replace the gdb.exe with your own copy)

That's what I have now. MinGW\bin contains both
mingw32-c++.exe (3.4.2)
gdb.exe              ( 5.2.1)

Code compiles but the debugger doesn't start (see above). It seems that the path to gdb.exe is not set correctly although it's dieplayed correctly in the configuration dialog. Can I enter the path to the debugger manually in a config file?


rickg22

I see...

I think it's got to do with the configuration. I'll research more about it, maybe you found a bug.

In the meantime, add the (path to your MINGW)\bin in "My PC", right click, Properties, advanced options, environment variables, system variables, PATH. (Separate with semicolons).

Orlando

Quote from: rickg22 on August 09, 2005, 01:51:03 AM
I think it's got to do with the configuration. I'll research more about it, maybe you found a bug.

Another observation:
1. Clean the project manually
2. Open CB and open a Project
3. Press button 'Run' (without compiling before)
4. Message Box Error "Can't find comiler executable in your search path for GNU GCC compiler"
5. Press 'ok'
6. Message Box Information "It seems that this project has not been built yet. Do you want to build in now?"
7. Press 'yes'
8. Compiling ....