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.
It is very easy to block the debugger with the following code. Just set the breakpoints, and select "test ()" in the code to see the value in a tool tip. The debugger goes to the line "return 12" then it is freezed. ----8<----8<---- class DebugTest { private static int test () { return 12; // breakpoint } public static void main (String[] args) { System.out.println (test ()); // breakpoint + select } }
I can confirm a described behaviour. I see it on my Linux in build FFJ 020501_1.
accepted by dev.
Target milestone was changed from '3.4' to TBD.
From conversations held recently on things like this, We decided that tooltips should not be generated from method calls in the code (that is, methods should only be invoked from things like the watches.
Behaviour described by user is fixed in the main trunk.
The problen is still reproducible - probably mistake.
Will be fixed in 3.6.
Fixing this issue would require considerable debugger re-design => promo-D.
Removing fix-in-36 if it's planed for promo-D.
Debugger has been redesigned and this issue's still there. Whole IDE is frozen. I will attach thread dump.
Created attachment 14725 [details] full thread dump
fixed in the main trunk Checking in src/org/netbeans/modules/debugger/jpda/JPDADebuggerImpl.java; /cvs/debuggerjpda/src/org/netbeans/modules/debugger/jpda/JPDADebuggerImpl.java,v <-- JPDADebuggerImpl.java new revision: 1.32; previous revision: 1.31 done
Verified in nbdev200507110943.