LWJGL grabbed mouse - debug if application hangs or when breakpoint hits with grabbed mouse
问题 I have a LWJGL program (LWJGL 2.9.0) that sometimes randomly hangs. The problem with debugging it is that mouse is always grabbed. On Windows it's possible to get mouse back without any issues, but on linux (I use linux Kubuntu) the only way I know to get mouse back is to stop the application. The same issue happens when a breakpoint hits when mouse is grabbed. Using netbeans debug mode I can pause application and get some information at any time, but when the application hangs mouse no