User forums > Using Code::Blocks

Windows XP SP2 - Debugger - Watches - C::B

(1/2) > >>

Ditos:
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?

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


Ditos:
i installed DevC++. Also downloaded version of codeblocks with MinGW but its not working tho

stahta01:
Did you install the debugger gdb.exe or not?

In other words does gdb.exe exist in the MinGW/bin folder?

Tim S

Ditos:
Yea, as debbuger i have gdb.exe. Its located in mingw folder

Navigation

[0] Message Index

[#] Next page

Go to full version