Re: It's useful to have a working X server if a client holds a grab when it triggers a debugger breakpoint

2009-05-27 Thread David Campbell
: On Tue, May 26, 2009 at 11:56:58AM +1000, David Campbell wrote: By switching to a VT, did you mean pressing CTRL-ALT-number to switch to a virtual terminal? That doesn't work for me, due to the grab. Pressing those keystrokes is unresponsive, thus for a standalone system

It's useful to have a working X server if a client holds a grab when it triggers a debugger breakpoint

2009-05-25 Thread David Campbell
Hi, Many/most GUI toolkits implement pop up menus using grabs. This can cause major desktop lockups when debugging GUI applications, because hitting breakpoints in pop up menu callback code will occur while a grab is active. Reaching a breakpoint while a grab is active indefinitely locks up

Re: It's useful to have a working X server if a client holds a grab when it triggers a debugger breakpoint

2009-05-25 Thread David Campbell
Owen Taylor wrote: On Tue, 2009-05-26 at 10:00 +1000, David Campbell wrote: Hi, Many/most GUI toolkits implement pop up menus using grabs. This can cause major desktop lockups when debugging GUI applications, because hitting breakpoints in pop up menu callback code will occur while

Re: It's useful to have a working X server if a client holds a grab when it triggers a debugger breakpoint

2009-05-25 Thread David Campbell
Daniel, If the kill all grabs functionality came back as an XKB action, that wouldn't help in this situation, would it, given that CTRL-ALT-number isn't working, which would seem to indicate that a synchronous grab is used? If VT switching doesn't work due to a synchronous grab, then an XKB