User forums > Help

Debugger with windows XP

(1/1)

grumyoldman:
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

ollydbg:

--- Quote from: 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


--- End quote ---
Can you run those command under Windows Console in WinXP?

gd_on:
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
--- End code ---
and in starting debugger you have :

--- Code: ---Starting debugger: C:\Codeblocks\MINGW\bin\gdb.exe
--- End code ---

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

verify the tools path in your compiller configuration.

gd_on

Navigation

[0] Message Index

Go to full version