Debugging under linux


([RW]FRED) #1

Hi all, I’ve some strange problems under Et modding on Linux.

I run my mod in a window under XFree 4.3 allowing to swicth to another window, but when when a break point is reached under the debugger, ET stop and the mouse is not released by ET meaning that it can’t be used to go to the gdb frontend client and input keys don’t go to gdb but to ET.

In result i must switch to a console tty and kill ET & the current gdb session.

Any ideas to resolve it?

Thx.

Linux used: Aurox 9.3 (Fedora core 1 based) P4 3Ghz with HT, GPU NVIDIA Fx5900 XT with the last NVIDIA Xfree 4.3 drivers.


(bani) #2

put


Option "AllowDeactivateGrabs" "true"

in the ServerFlags section of your /etc/X11/XFree86-4 file

then you can use ctrl-alt-keypad-/ to ungrab the mouse+keyboard.

eg


Section "ServerFlags"
    Option "AllowDeactivateGrabs" "true"
EndSection


(Rain) #3

I usually just use ‘in_mouse 0;in_restart’ so that ET stops grabbing the mouse before I start tripping breakpoints. 'course, there are a few cases where having the mouse is a lot handier, and allowdeactivategrabs is a Good Thing.


([RW]FRED) #4

Thanks to all

I’ll test it as soon as possible

Regards