Author Topic: debug doesn't work?  (Read 3687 times)

Offline codinglexernewbie

  • Single posting newcomer
  • *
  • Posts: 9
debug doesn't work?
« 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?

Offline jordi

  • Multiple posting newcomer
  • *
  • Posts: 17
Re: debug doesn't work?
« Reply #1 on: December 24, 2021, 02:56:47 pm »
Maybe you don't have the "debug target" selected.  You can checked it with the following menu sequence: Build - Select target - Debug

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3255
Re: debug doesn't work?
« Reply #2 on: December 25, 2021, 11:15:28 pm »
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