Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upHot code replace not working #850
Comments
|
Hmm, not sure what happened, replaced with 1.47.2 or 1.46.1 same problem. It was working fine |
|
What's your version of "Debugger for Java" extension? Could you try to downgrade it to 0.26.0 to see whether it still happens? |
|
@testforstephen Thanks!!! it works in 0.26.0... did not realize that debugger for java was recently updated, otherwise I would have downgraded it first :-) wasted me a couple hours downgrading VSCode, clean install etc :) |
|
@Mike-the-one Would you mind sharing a sample project and some steps to reproduce the issue? A minimum project that can reproduce the issue would be helpful to find the root cause? |
|
I'm also having this issue, but I don't have a sample project for reproduction of the bug. All I know is that since the update, it doesn't work for either project I work on. It just says there are no changes. Like OP, with Java 8 and 11. |
|
i reproduced it. Actually HCR succeeds, just report a wrong status about no changes found. Will push a hotfix for it. |
|
The latest 0.27.1 already has the fix. |
|
@testforstephen Thanks for fixing this! |
|
I'm on 0.27.1 and still get told: "cannot find any changed classes for hot replace!" |
|
@Palidino Could you try a private fix at #855 (comment)? |
I have a spring boot application, hot code replace was working fine, until I recently to latest VS code (1.47.1).
Tried to delete the workspace storage folder, still the same.
Tried both jdk 1.8 and java 11, same problem
Tried the change HCR from auto to manual, got this message whenever I click the lightning icon after I change the code and save:
Thanks
Environment
Steps To Reproduce
[attach a sample project reproducing the error]
attach logs
Current Result
Expected Result
Additional Informations