microsoft / microsoft/vscode-java-debug

Add possibility to terminate debugger when Hot Code Replace fails

Open
#944 1 comment 0 reactions 1 assignee View on GitHub

@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
  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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.