Author Topic: gdb of better compiler not working  (Read 149 times)

Offline mckl

  • Single posting newcomer
  • *
  • Posts: 3
gdb of better compiler not working
« on: Today at 11:03:38 am »
Ok so i ve set up new mingw64 compiler 13.2 so c++ 20 is working. But debugger is not functioning completely. I ve tried to put older version 8.1 back so it fixed it. But how to adjust debugger for newer compiler. It does not read breakpoints at all and I am getting:

[debug]terminate called after throwing an instance of 'std::system_error'
[debug]  what():  terminate called recursively
[debug]Invalid argument
[debug]> set prompt >>>>>>cb_gdb:

Setting breakpoints
Debugger finished with status 1


Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1560
Re: gdb of better compiler not working
« Reply #1 on: Today at 11:17:24 am »
Are you using a recent nightly or the 20.03 release?

Offline mckl

  • Single posting newcomer
  • *
  • Posts: 3
Re: gdb of better compiler not working
« Reply #2 on: Today at 11:20:26 am »
20.03

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1560
Re: gdb of better compiler not working
« Reply #3 on: Today at 12:49:02 pm »
Recent GDB introduced some changes in the output so parsing failed. This was fixed in r13162 a year ago, try the last nightly.

Offline mckl

  • Single posting newcomer
  • *
  • Posts: 3
Re: gdb of better compiler not working
« Reply #4 on: Today at 02:28:25 pm »
Yeah I just installed Last nightly with dll flies and put them into folder and still the same issue.

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1560
Re: gdb of better compiler not working
« Reply #5 on: Today at 03:33:59 pm »
Activate "Full debug log" in Settings->Debugger->Common and attach the log here.