User forums > Using Code::Blocks

debug doesn't work?

(1/1)

codinglexernewbie:
i've got a program, which crashes but when I run debug, it doesn't  arrow the line in which it crashes instead it just shows this: Setting breakpoints
Debugger name and version: GNU gdb (GDB) 8.1
Child process PID: 17796
In ?? () ()
any reasons why it doesn't work?

jordi:
Maybe you don't have the "debug target" selected.  You can checked it with the following menu sequence: Build - Select target - Debug

BlueHazzard:
Enable the full debug log:
Settings->Debugger->Common->Full (debug) log

then start the debugger an copy and paste the content of the debugger log tab found at the bottom here in the forum (please use the # tag in the post editor)

It could be that you are using a buggy gdb version that crashes

Navigation

[0] Message Index

Go to full version