Author Topic: Can't debug in XP(using 8.02)  (Read 2021 times)

amo

  • Guest
Can't debug in XP(using 8.02)
« 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. 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.

Offline cmb

  • Single posting newcomer
  • *
  • Posts: 6
Re: Can't debug in XP(using 8.02)
« Reply #1 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.