News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Can't debug in XP(using 8.02)

Started by amo, March 17, 2008, 04:55:22 AM

Previous topic - Next topic

amo

I am a newbie of code block. I cannot debug after set building options following the intruction in this posthttp://forums.next.codeblocks.org/index.php?topic=4296.msg34198. I am using GCC installed with the code block.
The error message from the Debugger windows is as following

Building to ensure sources are up-to-date
Build succeeded
Selecting target:
Debug
Adding source dir: D:\mydoc\Code\c++\design_pattern\chaimDemo\
Adding source dir: D:\mydoc\Code\c++\design_pattern\chaimDemo\
Adding file: bin\Debug\chaimDemo.exe
Starting debugger:
failed


Any suggestion is appreciated.

cmb

Verify that the path to gdb.exe does not contain spaces. It may seem surprising in this day and age but parts of Code::Blocks cannot handle spaces in path names.