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.
[ BUILD # : 201012090001 ] [ JDK VERSION : 1.6.17 ] When cancelling the debugging task in the IDE, the debugging session is not terminated correctly. Steps to reproduce: 1. Debug a platform application. 2. Cancel the debug process by clicking on the X on the status bar next to the process. 3. The application continues running. On occasion this also causes all the debugger windows to stay open after debugging terminates. However, I have found no reliable way to reproduce that behaviour. This appears to be a 64-bit operating system only issue. I have not been able to reproduce it on 32-bit Windows XP.
Created attachment 103914 [details] Screenshot after stopping process The screenshot shows the inconsistent state of the debugger after stopping the process. The output window shows that the build has been stopped, and the task is no longer on the status bar, but the debugger is still running.
Can you reproduce this behavior also when you execute the platform application via Run? The problem seems to be in the way how the application is terminated, which should be the same for Run and Debug. Also, when debugging, does Debug -> Finish Debugger Session terminate the application?
(In reply to comment #2) I have indeed reproduced this behaviour when running the application. Debug -> Finish Debugger Session does terminate the application as expected, including closing all the debug top components.
Then it's a problem of the execution termination in general...
Maybe an issue with netbeans.exe. If it's not reproducible in 32-bit XP then I cannot evaluate it.
There is something else that I have noticed, which may or may not be related. When running or debugging an application on the same 64-bit OS, none of the output of the actual application is shown in the output Window. The output generated while executing the ant script to run the app is displayed. But after that, one the application is running, no output whatsoever.
Same problem on 64 bit linux. The debugger is not usable anymore after some steps. It looks like the debugger has lost connection to the app, the process being debugged is not visible anymore in the process list. Start/Stop/Continue is shown active, but IDE doesnt react anymore. Very annoying, means to stop and restart netbeans every 5-10 breakpoints! >Log Session: Friday, March 11, 2011 4:02:47 PM CET >System Info: Product Version = NetBeans IDE 7.0 Beta 2 (Build 201102140001) (#c4653c02b9b3) Operating System = Linux version 2.6.34.7-0.7-desktop running on amd64 Java; VM; Vendor = 1.6.0_24; Java HotSpot(TM) 64-Bit Server VM 19.1-b02; Sun Microsystems Inc. Runtime = Java(TM) SE Runtime Environment 1.6.0_24-b07 Java Home = /usr/lib64/jvm/java-1.6.0-sun-1.6.0/jre
Assigned to new owner.
fixed in trunk - core-main/rev/34fef02e9b05. Builds for verification are available at http://bits.netbeans.org/download/trunk/nightly/latest/
Verified with build 201204040400 on Windows 7 64-bit with JDK 7u3 64-bit.