microsoft / microsoft/vscode-java-debug
Add possibility to terminate debugger when Hot Code Replace fails
Open
@testforstephen is already working on this.
Since Feb 1, 2021.
ai-triaged
enhancement
hcr
ux
- Dominant language
- TypeScript
- Stars
- 591
- Forks
- 429
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 19
Description
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
- 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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.