Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: toodles on March 10, 2007, 02:45:56 pm
-
Hi,
I'm new to C, C::B and gdb, but I use all of them. I have never been able to use the debugging features of C::B. The option to start debugging seems to be disabled. The option to compile with debugging symbols is switched on too. How to I switch on the debugger? (I'm using ubuntu)
toodles
-
which version of CB are you using ?
for testing purposes : create in CB a new console project (it will have a debug and release target), build that debug target and then put a breakpoint on the "hello world" line, and start the debugging. It should end up at that breakpoint.
Note that yesterdays build or latest svn (rev 3681 has a debug issue).
EDIT : that issue might be more present in the windows build ...
EDIT2 : in the simple console project I notices I could not put a breakpoint on the first line f the main function, so for testing put your breakpoint on the return line