This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | system GUI freeze | ||
---|---|---|---|
Product: | debugger | Reporter: | ilantal <ilantal> |
Component: | Java | Assignee: | Martin Entlicher <mentlicher> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 7.0.1 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
ilantal
2011-10-06 11:52:45 UTC
Where did you find out that desktop applications would not be officially supported? AFAIK, it's not true at all. NetBeans fully support J2SE development. This is a known problem. See issue #93076. The system is not frozen at all, only the input does not work. To get from this state, press CRTL-ALT-F1, log in, find the process ID of the debugged application, kill -9 <PID> and ALT-F7 to go back to the GUI. Killing the debugged application should release the input. As a workaround, run your application with -Dsun.awt.disablegrab=true switch. I'll try to find out if we'll be able to detect this frozen state from debugger... if we can do something about it... Thanks for your reply. I will try your work around. Even better I hope to remember NOT to put break points in dangerous places. I'm most happy to learn that the desktop development is still supported. It is very useful to me and I have a significant number of applications in use. I very much hope you will be able to do something about it. It is clear that it won't be easy, but it is like stepping on a land mine when it happens. Overall I am most pleased with Netbeans, and there is no software without bugs. Ilan I've found a way how can we hack into the AWT grab state. So hopefully, we can detect this desktop lock and try to recover from that. As a result, however, there can remain un-closed popup menus on the screen. The same happens when -Dsun.awt.disablegrab=true switch is used, popup windows can be left opened when you switch between applications. But, you should be able to debug the event handlers without problems with that switch. I'm closing this as a duplicate of issue #93076. However, I've managed to hack into X11 methods and release the window grab via debugger. Therefore it's hopefully fixed. *** This bug has been marked as a duplicate of bug 93076 *** Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/5aa81c3749e4 User: mentlicher@netbeans.org Log: #93076, #203221 Detection of paused threads of applications that holds grabbed window implemented via direct access to X serevr routines. The grab is either released, or application is resumed to prevent from frozen X server. |