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.

Bug 192425

Summary: Strange crash when debugging
Product: debugger Reporter: mrs_sheep
Component: JavaAssignee: mrs_sheep
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description mrs_sheep 2010-11-24 17:58:54 UTC
I tried to debug a function called 
private void saveItemMousePressed(java.awt.event.MouseEvent evt) {
but whenever I reach the breakpoint the computer hangs up itself (or rather: I can't do anything, music keeps playing and i have to kill Java via non-GUI terminal).

It doesn't matter where I put the breakpoint within the method, and I have not experienced trouble upon placing breakpoints in other methods.

I am using ubuntu 10.10 and it was reproducible on another ubuntu 10.10 machine.
Comment 1 Jiri Kovalsky 2010-11-24 19:53:47 UTC
Can you please share with us the project sources that exhibit this bug? Also, what is build number of the NetBeans you are using? Is it 6.9 or 6.9.1 or 6.9.1 with Update 2? Thanks!
Comment 2 Martin Entlicher 2010-11-24 21:47:22 UTC
Most likely this is a problem with native AWT lock. You suspend the application by debugger while it holds an AWT lock for the mouse. Therefore you can not click on anything.
If this is the case, it's a duplicate of issue #93076.

As a workaround, add
-Dsun.awt.disablegrab=true
option to your program.

*** This bug has been marked as a duplicate of bug 93076 ***