U++ framework
Do not panic. Ask here before giving up.

Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » IDE debugger hangs on GuiMT example
Re: IDE debugger hangs on GuiMT example [message #36225 is a reply to message #36115] Mon, 14 May 2012 18:37 Go to previous messageGo to previous message
mdelfede is currently offline  mdelfede
Messages: 1310
Registered: September 2007
Ultimate Contributor
About the mouse grabbing problem of X11 above, a quick and dirty workaround is to put those lines juse BEFORE the breakpoint :

	XUngrabPointer(Xdisplay, CurrentTime);
	XUngrabKeyboard(Xdisplay, CurrentTime);
	XFlush(Xdisplay);
	user code                 <--breakpoint on THIS LINE


This will ungrab mouse just before gdb takes control.
I'll try to find a more automatic solution from inside GDB, with some helpers in user code.

Ciao

Max
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon1.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: gcc.bm file for Xubuntu
Next Topic: Build a project composed by multiple shared libs
Goto Forum:
  


Current Time: Sun Jul 12 15:21:11 GMT+2 2026

Total time taken to generate the page: 0.00575 seconds