Java Debugger's working state can be broken when some unexpected VM crashes occur.
When such crash occurs, Netbeans IDE is still partially working under "debugging mode" while the target program has already exited. Unless restart Netbeans, the broken state cannot be easily undone.
write a simple java app; tune the the VM flag to some unacceptable level, like -Xmx4096m; hit "Debug Main Project" or something similar; then, watch the outcome.
Tested on 6.8, 6.7, 6.5
I can occasionally reproduce this. It looks like a threading issue.
(In reply to comment #1)
> I can occasionally reproduce this. It looks like a threading issue.
Weird. I can reproduce this everytime.
Fixed in changeset: 164613:b5e0cae01d11
Integrated into 'main-golden', will be available in build *201004020200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Log: #182439 Improved the interruption and kill of the session in case of a failure.
I am not able to reproduce it in NB 6.9 (201005122200)