Skip to content
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

Java class hotswap not working in debug model #34

Closed
caiwenhn2008 opened this issue Mar 26, 2022 · 4 comments
Closed

Java class hotswap not working in debug model #34

caiwenhn2008 opened this issue Mar 26, 2022 · 4 comments
Labels
question Further information is requested

Comments

@caiwenhn2008
Copy link

caiwenhn2008 commented Mar 26, 2022

Describe the issue
Hi,
Thanks for buiding this excellent extension to simplify our java debug in NVIM, I could have basic java debug in NVIM with limited configuration, cheers!!!

but i see java class hotswap function not working, is it not supported today?

I have set "let g:ycm_java_hotcodereplace_mode = 'always' as suggested from https://github.com/puremourning/vimspector#java

but it seems the java class cannot be hot-swapped in debug model.

See hotcodereplace message in vimspector log:
image

2022-03-26 20:54:50,921 - DEBUG - Message received: {'event': 'hotcodereplace', 'body': {'changeType': 'BUILD_COMPLETE', 'message': 'Build completed.', 'type': 'hotcodereplace'}, 'seq': 21, 'type': 'event'}

@caiwenhn2008 caiwenhn2008 changed the title g:ycm_java_hotcodereplace_mode not working java class hotswap not working in debug model Mar 26, 2022
@caiwenhn2008 caiwenhn2008 changed the title java class hotswap not working in debug model Java class hotswap not working in debug model Mar 26, 2022
@dansomething dansomething added the question Further information is requested label Mar 26, 2022
@dansomething
Copy link
Owner

I'll see if I can reproduce it, but it's most likely an issue with Vimspector or jdt.ls since this project does little more than provide some "glue" between the two.

What versions of the relevant software are you using?
vim/nvim:
coc.nvim:
coc-java:
vimspector:
java:
jdt.ls:

@dansomething
Copy link
Owner

I can replicate the issue, but I still don't know the root cause. Though I'm sure it's either an issue in Vimspector or jdt.ls. I can't get it to work in VS Code either using the same example.

@stale
Copy link

stale bot commented Apr 28, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Apr 28, 2022
@dansomething dansomething added keep Never considered stale and removed wontfix This will not be worked on labels Apr 28, 2022
@dansomething
Copy link
Owner

This should be fixed by #45

@dansomething dansomething removed the keep Never considered stale label Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants