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.
Beta 2 build #200607180300 of NetBeans 5.5 Windows XP, JDK 1.5.0_02 build #09 Description: ============ I have found a scenario that always deadlocks IDE. This happens when line breakpoint is customized in order to print local method variable. When the breakpoint is hit it is only necessary to "Continue" in debugging. Debugger gets into strange state and if user tries to delete the breakpoint, IDE freezes. The scenario is 100% reproducible with the attached project. Steps to reproduce: =================== 1. Extract attached project somewhere and open it in the IDE. 2. Open "QuizTest_1|Source Packages|quiztest|QuizTest.java" class in editor. 3. Toggle breakpoint (Ctrl+F8) at line 34. 4. Invoke "Window|Debugging|Breakpoints" (Alt+Shift+5) from main menu. 5. Right click "Line QuizTest.java:34" breakpoint and choose "Customize". 6. Set "Print Text:" field to "Value of magicNumber is {=magicNumber}." text. 7. Push "OK" button and invoke "Run|Debug Main Project" (F5) from main menu. 8. When breakpoint is hit, invoke "Run|Continue" (Ctrl+F5) from main menu. 9. Note that the same breakpoint is not hit anymore ! 10. Right click "Line QuizTest.java:34" breakpoint and choose "Delete".
Created attachment 31958 [details] Project reproducing debugger deadlock.
Created attachment 31959 [details] Thread dump showing the deadlock.
Please note this is not a regression i.e. it is also present in NetBeans 5.0.
This can not be reproduced in dev builds => It was already fixed, I'm searching for when was the fix applied...
It was issue #50811, whose fix also fixed this deadlock. cvs/debuggerjpda/src/org/netbeans/modules/debugger/jpda/JPDADebuggerImpl.java,v <-- JPDADebuggerImpl.java new revision: 1.100; previous revision: 1.99 Therefore it's fixed in trunk.
Oh yes, you are right ! Sorry, I didn't find the duplicate issue. Verifying in development build #200607181800 of NetBeans 6.0.