vscode-java-debug icon indicating copy to clipboard operation
vscode-java-debug copied to clipboard

Add possibility to terminate debugger when Hot Code Replace fails

Open contextfw opened this issue 4 years ago • 1 comments

When Hot code replace fails, plugin opens a dialog

"Hot code replace failed - [error]. Would you like to restart the debug session?".

And dialog offers two buttons

"Yes" and "No".

However in most cases I actually need to terminate the debugger to make changes and then restart debugger again. So currently I have to to answer "No" in this dialog and then manually terminate debugger, which is annoying.

Environment
  • Operating System: any
  • JDK version: any
  • Visual Studio Code version: 1.52.1
  • Java extension version: 0.12.1
  • Java Debugger extension version: 0.30.0
Steps To Reproduce
  1. Make a change in java code which makes the hot code replace fail.
Current Result

No possibility to terminate debugger in dialog.

Expected Result

Debugger can be terminated in the dialog.

contextfw avatar Feb 01 '21 08:02 contextfw