Code::Blocks Forums

User forums => Help => Topic started by: grumyoldman on September 26, 2013, 01:18:33 am

Title: Debugger with windows XP
Post by: grumyoldman on September 26, 2013, 01:18:33 am
Hi all,

Can anyone tell me why debugger is not working with windows XP. Following is transcript from output window, it works fine under windows 7
I have used same method/execute file to install on both machines.
When clicking the step into Icon in debugger this message comes up !!

thanks

Steve

Building to ensure sources are up-to-date
Selecting target:
Debug
Adding source dir: C:\Test\test\
Adding source dir: C:\Test\
Adding file: C:\Test\test\bin\Debug\test.exe
Changing directory to: C:/Test/test/.
Set variable: PATH=.;C:\Program Files\CodeBlocks\MinGW\bin;C:\Program Files\CodeBlocks\MinGW;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\wbem;C:\Program Files\NTP\bin;C:\Program Files\Internet Explorer;C:\Program Files\QuickTime\QTSystem
Starting debugger: C:\Codeblocks\MINGW\bin\gdb.exe -nx -fullname  -quiet  -args C:/Test/test/bin/Debug/test.exe
failed
Title: Re: Debugger with windows XP
Post by: ollydbg on September 26, 2013, 01:54:01 am
Hi all,

Can anyone tell me why debugger is not working with windows XP. Following is transcript from output window, it works fine under windows 7
I have used same method/execute file to install on both machines.
When clicking the step into Icon in debugger this message comes up !!

thanks

Steve

Building to ensure sources are up-to-date
Selecting target:
Debug
Adding source dir: C:\Test\test\
Adding source dir: C:\Test\
Adding file: C:\Test\test\bin\Debug\test.exe
Changing directory to: C:/Test/test/.
Set variable: PATH=.;C:\Program Files\CodeBlocks\MinGW\bin;C:\Program Files\CodeBlocks\MinGW;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\wbem;C:\Program Files\NTP\bin;C:\Program Files\Internet Explorer;C:\Program Files\QuickTime\QTSystem
Starting debugger: C:\Codeblocks\MINGW\bin\gdb.exe -nx -fullname  -quiet  -args C:/Test/test/bin/Debug/test.exe
failed

Can you run those command under Windows Console in WinXP?
Title: Re: Debugger with windows XP
Post by: gd_on on September 26, 2013, 07:57:57 pm
May be the good question is where did you set gdb is ?
In your PATH :
Code
Set variable: PATH=.;C:\Program Files\CodeBlocks\MinGW\bin
and in starting debugger you have :
Code
Starting debugger: C:\Codeblocks\MINGW\bin\gdb.exe

so : C:\Program Files\CodeBlocks\MinGW\bin or C:\Codeblocks\MINGW\bin ?

verify the tools path in your compiller configuration.

gd_on