Code::Blocks Forums

User forums => Help => Topic started by: amo on March 17, 2008, 04:55:22 am

Title: Can't debug in XP(using 8.02)
Post by: amo on March 17, 2008, 04:55:22 am
I am a newbie of code block. I cannot debug after set building options following the intruction in this posthttp://forums.codeblocks.org/index.php?topic=4296.msg34198 (http://forums.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.
Title: Re: Can't debug in XP(using 8.02)
Post by: cmb on April 05, 2008, 11:27:23 pm
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.