News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

debug doesn't work?

Started by codinglexernewbie, December 24, 2021, 06:08:59 AM

Previous topic - Next topic

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