Visitar URL original
java.debug.settings.hotCodeReplace "auto" has a wierd behaviour · Issue #1584 · microsoft/vscode-java-debug · GitHub
Skip to content

java.debug.settings.hotCodeReplace "auto" has a wierd behaviour #1584

Description

As per title if I set java.debug.settings.hotCodeReplace to "auto" it seems to trigger the "applying code changes" multiple time, which requires more time and eventually ends up in rebuilding the entire application instead of the single modified.
Image
I tried to look out for some kind of output or log to get core of the issue but without any success. I also tried to look out at the docs in case I messed up the settings but nothing looks out of place, except maybe for the "java.autobuild.enabled" set to true (which is not a debugger setting).

    "java.debug.settings.console": "internalConsole",
    "java.debug.settings.hotCodeReplace": "manual",
    "java.debug.settings.forceBuildBeforeLaunch": true

Manually invoking the hot code replace works as intended (at least per my knowledge).

Activity

  1. github-actions commented on Nov 10, 2025

    @github-actions

    Hi Gianluca Turra (@GianlucaTurra), I'm an AI Support assistant here to help with your issue. While the team reviews your request, I wanted to provide some possible tips and documentation that might help you in the meantime.

    Workarounds & Suggestions

    • Switch to manual HCR until the root cause is addressed:
      "java.debug.settings.hotCodeReplace": "manual"
    • Disable automatic builds in VS Code to avoid repeated triggers:
      "java.autobuild.enabled": false
    • Ensure you’re on the latest versions of:
      • VS Code
      • Extension Pack for Java (redhat.java & vscjava.vscode-java-debug)

    Duplicates

    Other references with high confidence

    Other references with low confidence

    The team will respond to your issue shortly. I hope these suggestions are helpful in the meantime. If this comment helped you, please give it a 👍. If the suggestion was not helpful or incorrect, please give it a 👎. Your feedback helps us improve!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions