Re: [gtk-list] Debugging and XGrabPointer




On Fri, 30 Oct 1998, Michael Babcock wrote:
> I'm having some trouble debugging our Gtk-- application. The problem is
> that if you set a breakpoint that is hit in response to some user action
> like clicking a menu or selecting an item from a combo box, the pointer
> is grabbed so you can't go to your debugger and do anything. DDD at
> least detects this so you don't have to switch to another virtual
> console and kill the program, but you still can't use the breakpoint.
> 

Tero's solution is good. Another option that I use is to have a window
manager key shortcut to minimize windows; at least with WindowMaker, when
you minimize a window the grab is released.

Havoc




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