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 - Strange crash when debugging
Summary: Strange crash when debugging
Status: RESOLVED DUPLICATE of bug 93076
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 normal (vote)
Assignee: mrs_sheep
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-24 17:58 UTC by mrs_sheep
Modified: 2011-11-16 16:46 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***