The error message means the debugger has problems to start up.
There are various reasons why that may be...
But before that, Lazarus comes with 2 debuggers:
- the older gdb based (that you are using)
- the newer "FpDebug", that you could set in menu: Tools > Options: Debugger > Debugger Backend
Anyway with the gdb based debugger
1) In Project > Project Options: check under Compiler > Debug, that you have "generate debug info" enabled, and set to "dwarf 2 with sets"
When using GDB, do
not use "Dwarf 3"
2) Have you saved the project? Does the full path (all containing folders/dirs and the project name) contain spaces or chars other than a-z,0-9,_ ? GDB can get confused.
If you need gdb, then you can also try to download an alternative version of gdb
https://sourceforge.net/projects/lazarus/files/Lazarus%20Windows%2064%20bits/Alternative%20GDB/Unfortunately there is no single good gdb. Each can have diff issues, or work real good.
In any case, most likely you will be best off if you switch to FpDebug (and then you can use Dwarf3, but other Dwarf are fine too)