Sorry, but I don't currently have the time to test this myself.
To clarify, if I get a log, this also means it depends on how exactly it fails.
- Might be just adjusting a search pattern => ok
- Might be a lot more => then I don't know if/when I can deal with it
Another thing, the first google hit on haiku gdb
https://discuss.haiku-os.org/t/gdb-10-2-for-haiku/10876suggests gdb does not actually work ...
---
Btw, maybe there is a workaround
In the debugger options/ property grid
InternalStartBreak = gdbsNone
Might avoid the pid check.
Might also have side effects, that the pause-button does not work, and breakpoints can not be changed while the app runs / not sure.
Or, instead of running in the debugger: run without debugger, then attach. (Again not tested)