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.
public class NewClass { NewClass () { a (); // put breakpoint here and evaluate "a()" expression } String a () { for (;;) { System.out.println("sdfasgadfgadg"); } } public static void main(String[] args) { new NewClass (); } } this example leads to deadlock of ide after several steps
Created attachment 20770 [details] text
*** Issue 51023 has been marked as a duplicate of this issue. ***
This problem ca occurre if debugger is evaluating some expression containing method call. If this method call is blockind, there is high danger of deadlock.
Fixed: cvs commit -m "PATCH for #56233" JPDADebuggerImpl.java (in directory C:\SOURCE\debuggerjpda\src\org\netbeans\modules\debugger\jpda\) Checking in JPDADebuggerImpl.java; /cvs/debuggerjpda/src/org/netbeans/modules/debugger/jpda/JPDADebuggerImpl.java, v <-- JPDADebuggerImpl.java new revision: 1.62; previous revision: 1.61 done
Please verify this issue.
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.