Skip to content

"Cannot find any changed classes for hot replace!" #855

@maxstreifeneder

Description

@maxstreifeneder

[provide a description of the issue]

Environment
  • Operating System: macOS Catalina 10.15.6
  • JDK version:
    openjdk 11.0.8 2020-07-14
    OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.8+10)
    OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.8+10, mixed mode)
  • Visual Studio Code version: 1.47.2
  • Java extension version: Java Extension Pack v0.9.1
  • Java Debugger extension version: Debugger for Java v0.27.1
Steps To Reproduce
  1. git clone https://github.com/maxstreifeneder/HotCode-Replace

  2. mvn compile

  3. set a Breakpoint in com.maxstreifeneder.hotreload.handlers.test.HelloController.java, Line 11.

  4. Start Debugger: Run -> Start Debugging

  5. Open a Browser and hit localhost:8080/hotreload

  6. You will be prompted with a Password prompt. Take the user + password from the log output:
    image

  7. Debugger will stop.

  8. Change Line 11 to System.out.println("hotreload");

  9. Press the "Hot Code Replace" Button in the Debugger Tools.
    image

  10. "Cannot find any changed classes for hot replace!" will appear.

[attach a sample project reproducing the error]
https://github.com/maxstreifeneder/HotCode-Replace

Current Result

"Cannot find any changed classes for hot replace!" when trying to use the Hot Code Replacement

Expected Result

Changed code in VS Code will be pushed to the running application using the debugging capabilities

Additional Informations

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions