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.
[ JDK VERSION : 1.6.0_07 ] NB hangs X if you hit a breakpoint during a popup menu.
This is a known problem and can not be fixed in NetBeans. See http://bugs.sun.com/view_bug.do?bug_id=6517045 and http://bugs.sun.com/view_bug.do?bug_id=6714678
I know it's a problem in java. Can't there be a way to gracefully stop the application or make the debugger quit if it realizes it's on a thread that will cause it to hang? I know if I code my app to use invokeLater on popups, then it won't hang. It seems this type of functionality should be in NB, since it doesn't happen in Windows, and it's NB that hangs X, not my app. Just my .02
Sorry, we leave this up to JDK team to fix this. It's the Xgrab lock held by the suspended application, that freezes the desktop. The problem is that the locking mechanism in AWT is not aware of debugger and debugger has no way to figure out that there is some Xgrab held by the application. Xgrab is taken by some non-API classes and we can not rely on specific stack traces. The behavior can change between different JDK versions. We do not want to do these kind of hacks. We'll wait how http://bugs.sun.com/view_bug.do?bug_id=6714678 will be resolved and make appropriate changes afterwards, if necessary. Till that happens, this is wontfix from our side. *** This issue has been marked as a duplicate of 93076 ***
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.