Please support debugging under Haiku OS lazarus / 12-Debugger ---------------------------------------------------------------------- AlexTP · 2021-11-29 17:57 Martin, as you see in this topic, user cannot debug the CudaText in Lazarus, https://github.com/Alexey-T/CudaText/issues/3374#issuecomment- 981798509 "Debugger error Ooops, the debugger entered the error state Save your work now! Hit Stop, and hope the best, we're pulling the plug. The debugger failed to get the application's PID. This may be caused my missing debug info." The debug-info was added then, as 'embedded', and it don't help. ---------------------------------------------------------------------- Martin_fr · 2021-11-29 18:23 On some OS pid values either look weird, or gdb uses yet another command to get them. I can try to have a look, but for that I need a log file https://wiki.lazarus.freepascal.org/GDB_Debugger_Tips#Log_info_for_deb ug_session Google says Haiku has a POSIX api. Maybe FpDebug works? (if fpc thinks it compiles for linux, or if the IDE sets defines to activate Linux code....) ---------------------------------------------------------------------- AlexTP · 2021-11-30 09:14 Martin, I may ask the user about logs but maybe it's hard for him to test it (and to activate FpDebug), so it will be better if _you_ take a look. Haiku OS can be installed for 10-30 min, maybe take a look at it? ---------------------------------------------------------------------- Martin_fr · 2021-11-30 12:16 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/10876 suggests 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) ---------------------------------------------------------------------- Fred vS · 2021-11-30 12:37 Hello. First Initial release of Haiku was in 2002. And the last release is still a Beta release. Are there here Haiku users that may tell us what advantage has Haiku vs Linux or FreeBSD ? Thanks. ---------------------------------------------------------------------- AlexTP · 2021-11-30 13:46 Martin,I guess I must wait for you. User answers not fast, sometimes with 10 days delays, he is busy. ---------------------------------------------------------------------- PascalDragon · 2021-12-01 12:51 Quote from: Fred vS on November 30, 2021, 01:37:09 pmAre there here Haiku users that may tell us what advantage has Haiku vs Linux or FreeBSD ? Please don't start off-topic discussions in existing threads. ---------------------------------------------------------------------- Fred vS · 2021-12-01 13:07 Quote from: PascalDragon on December 01, 2021, 01:51:00 pmQuote from: Fred vS on November 30, 2021, 01:37:09 pmAre there here Haiku users that may tell us what advantage has Haiku vs Linux or FreeBSD ? Please don't start off-topic discussions in existing threads. Ok, ok, sorry ( I never met a Haiku user and I would like to know what he looks like... ).