Re: Debugging after mouse pointer grabbed



snickell stanford edu wrote:
> We're running into a problem with Eclipse (an IDE that's using GTK2)
> when a breakpoint is hit in a section where the process has the mouse
> pointer grabbed (for example, during a drag). The process breaks, so the
> mouse pointer is never released and so no mouse clicking can be done.
> Specifically one can no longer use the debugger to fix the problem, at
> least not using the mouse. Any bright ideas or suggestions?

A very simple fix is to switch virtual desktops. If the pointer is 
grabbed, press CTRL-F2 (or whatever the shortcut is) to jump to another 
desktop, then jump back again. This breaks the grab and you can then debug.

(works with the KDE window manager anyway)

John



========================================================== 
Fabric of Vision 
Dress and Drapery in Painting 

19 June - 8 September 2002 

For information and tickets: 
http://www.nationalgallery.org.uk/exhibitions/fabric/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]