Debug under linux freeze problem lazarus / 12-Debugger ---------------------------------------------------------------------- Stavros92 · 2006-05-09 07:52 Hi all,        although maybe not related directly to lazarus, when implementing and initialize an external .so (Fmodex sound engine) although the program works fine, if I try to debug, debugger stops at the breakpoint as it should, but when I press F7 or F8  the entire system freezes and I have to reboot. It is so confusing. I have tested this in two pcs with the same results. Any ideas? P.S Used latest lazarus svn under FC5 Stavros ---------------------------------------------------------------------- Marc · 2006-05-09 14:24 It is known that in some situations X freezes when debugging. (it looks like X is single threaded when handling events) You can check if this is the case by resetting X (Ctrl-Alt-Backspace) ---------------------------------------------------------------------- stavros92 · 2006-05-09 17:15 Well no....when I say freeze...I mean freeze. The only solution is reboot. I found a workaroung though. This freezeing happens only when root is logged in. Any other user can debug ok. I do not know why, but root's permissions do harm in that case... Any ideas? Stavros ---------------------------------------------------------------------- felipemdc · 2006-05-09 23:04 I don´t know, but normally you should not run X as root.