-
Notifications
You must be signed in to change notification settings - Fork 339
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hot Code Replace returns Cannot find any changed classes for hot replace!
message
#1481
Comments
@peerpalo I got it to work, I've downgraded the "Debugger for Java" extension to v0.50.0 and it started to work, slowly, but it restarts now and detects changes (my project is huge so I expected the slow restart) I haven't tried higher/newer versions of the extension |
Thanks @Alexand3r, did some trial and errors and latest working version is v0.53.0, so v0.54.0 broke something on this specific configuration. Maybe it's this?
In my case it's really impossible to use it, very slow, could take more than 5 minutes |
this duplicates with microsoft/java-debug#554. It happens when the autobuild is disabled. We will provide a fix soon. Currently a workaround is to enable autobuild via |
im working in vscode making forge Minecraft mods, for me it says "Cannot find any changed classes for hot replace " no matter what I do. I've tried new projects, I've tried setting hot code replace to "auto". |
@jdneo awesome. that's great. Am I able to get the fix now or I have to wait for it to be merged. Do I just do what you have under "How to test the change" section and it'll be fine or no? |
@Anonymous2416 If you want to build it locally to try the change, you can follow the If you are not blocked by this issue, I would recommend to wait for it being merged and use the nightly build. I'll inform here once the nightly build is released. |
I tried that but still have the same issue |
@Anonymous2416 Can you give a sample project with a repro steps? |
@jdneo https://github.com/Anonymous2416/GrenadeTest
let me know if there's any issues running the project or anything at all. thanks |
I don't know how to validate the effect after comment out the line 36. But the UI response shows that the HCR works. See: after.mp4Please make sure that:
|
@jdneo I replaced the jar file. what do you mean build the debugger according to the PR? |
I also see this when I run |
nvm I built it and was able to get it working. Thank you! :) |
Similar to #1474, in this particular project configuration any attempt to use Hot Code Replace will produce a
NullPointerException
in Java Debugger. You can find a minimum sample project attached at the bottom.Environment
Steps To Reproduce
Additional Informations
https://github.com/peerpalo/hotcode-exception
The text was updated successfully, but these errors were encountered: