User forums > Help
Cant figure out how to debug.....
the-moon:
Can anyone please help me.
I really would like to do some coding today.
I dont want to have to reinstall Devc++. Id much rather use codeblocks. But if the codeblocks debugger dosent work, i have no choice but to use devc++ until its fixed.
MortenMacFly:
--- Quote from: the-moon on November 18, 2005, 09:34:42 pm ---Can anyone please help me.
--- End quote ---
Ok, let's do some basics:
1.) Could you verify that your PATH environment variable is setup in a way that there is
a) not another (incompatible) gdb.exe int the PATH
b) the real gdb.exe from code::Blocks ist IN the path
If not, just expand the PATH environment for testing purposes to the CodeBlocks\Bin directory. C::B will recoginise this after a restart of the application. Make sure you use the "My workplace" dialog to update the new PATH environment variable. otherwise the settings might not applied (or only after a restart).
2.) Please make sure you did not install C::B in a path that contains spaces. This might be an issue.
3.) Could you post a screenshot of the compiler (path) settings (global / project wise). Did you enable the Debugger's debug-log (within the settings of C::B GDB debugger). What's the output there?
Morten.
the-moon:
--- Quote from: MortenMacFly on November 18, 2005, 09:44:57 pm ---
--- Quote from: the-moon on November 18, 2005, 09:34:42 pm ---Can anyone please help me.
--- End quote ---
Ok, let's do some basics:
1.) Could you verify that your PATH environment variable is setup in a way that there is
a) not another (incompatible) gdb.exe int the PATH
b) the real gdb.exe from code::Blocks ist IN the path
If not, just expand the PATH environment for testing purposes to the CodeBlocks\Bin directory. C::B will recoginise this after a restart of the application. Make sure you use the "My workplace" dialog to update the new PATH environment variable. otherwise the settings might not applied (or only after a restart).
2.) Please make sure you did not install C::B in a path that contains spaces. This might be an issue.
3.) Could you post a screenshot of the compiler (path) settings (global / project wise). Did you enable the Debugger's debug-log (within the settings of C::B GDB debugger). What's the output there?
Morten.
--- End quote ---
Are u talking about my system Path?
Or a path for code::blocks...
System Enviroment Path -%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\CodeBlocks\bin
Heres a image of the paths for C::B, and also the error i get when i try and debug....
http://cdfbr.zidev.com/gfx/CBPath.jpg
^is this what u wanted?
Additional paths has nothing in it.
MortenMacFly:
--- Quote from: the-moon on November 18, 2005, 09:58:41 pm ---System Enviroment Path -%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\CodeBlocks\bin
http://cdfbr.zidev.com/gfx/CBPath.jpg
--- End quote ---
What wonders me: You are writing the path contains "C:\CodeBlocks\bin" but the screenshot states "C:\Program Files\Codeblocks". What is right?
Morten.
the-moon:
LoL
OMg....
It works!
I never even thought about that, i figured that code blocks would use the path i installed it from.
THanks alot for the help
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version