User forums > Help
aborted during compilation
bmk:
I encounter the same problem, gdb.exe does exist in C:\MinGW\bin but CodeBlocks still show the message "The debugger executable is not set..."
Is gdb.exe in C:\MinGW\bin the right debugger? If not where can I find it?
Thanks in advanced!
bmk:
After stuck with it for so long, ...
Finally, I try using CodeBlocks (call it father) to build a debug version of CodeBlocks (called child) from source. Then debug the process of finding debugger of the child CB. I saw detected debugger is "cdb.exe" rather than "gdb.exe".
I wonder why the father can debug while the child can't, this lead to the problem domain is project specific, and find out project setting for Compiler (this will choose corresponding debugger) is "Build Options" is MS 2005 Compiler, conflict with GNU GCC Compliler inglobal setting "Setting -> Global compiler settings -> <the compiler you use> -> Toolchain executables -> Program files".
That's it.
Hope that anyone encounter this problem may consider this as a hint.
Jenna:
I think every programmer should know which compiler (and therefore which toolchain) he uses for his program.
And if you would have rerad the posts carefully, you would have read this:
--- Quote from: jens on January 15, 2009, 12:39:02 pm ---"Settings -> Compiler and debugger... -> Global compiler settings -> <the compiler you use> -> Toolchain executables -> Program files"
--- End quote ---
I think it's clear enough !
Navigation
[0] Message Index
[*] Previous page
Go to full version