Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: Ditos on October 29, 2008, 08:57:04 pm
-
I tried to find it on forum but didnt make it.
I have a problem. Im training to conquest from Programming C++. When some goes wrong in program it is good to look at watches to see what happens in it. In school on linux ubuntu it workes fine but at home when i place cursor anywhere, press go to cursor, i cant press next line or whatever. Everything is grey and i cant see watches.
Anyone knows whats the problem and how to solve it?
-
What compiler are you using?
Did you install an debugger?
Which one did you install?
What is the debugger version?
I think you need an 6 version of gdb to work with Code::Blocks.
Note: I do not use the debugger, so can not help you much more than this, but the gdb is not part of the standard MinGW installation; so, it is the common reason debugging does not work.
The next two reason gdb does not work is the "-g" compiler option is not set.
Or, the "-s" compiler option is set.
Tim S
-
i installed DevC++. Also downloaded version of codeblocks with MinGW but its not working tho
-
Did you install the debugger gdb.exe or not?
In other words does gdb.exe exist in the MinGW/bin folder?
Tim S
-
Yea, as debbuger i have gdb.exe. Its located in mingw folder
-
Yea, as debbuger i have gdb.exe. Its located in mingw folder
What is the gdb.exe version returned by
IIRC, The 5.x versions do not work well with Code::Blocks.
The newer 6.x version had someone say it failed to work.
Tim S
-
version of gdb is 6.7.50
-
Did you get the solution?
I'm using in windows XP too, but the gdb works fine. I just installed the bundled mingw version.