Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: codinglexernewbie on December 24, 2021, 06:08:59 am
-
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?
-
Maybe you don't have the "debug target" selected. You can checked it with the following menu sequence: Build - Select target - Debug
-
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