coc-java-debug icon indicating copy to clipboard operation
coc-java-debug copied to clipboard

Java class hotswap not working in debug model

Open caiwenhn2008 opened this issue 3 years ago • 3 comments

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 avatar Mar 26 '22 13:03 caiwenhn2008

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 avatar Mar 26 '22 13:03 dansomething

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.

dansomething avatar Mar 29 '22 00:03 dansomething

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[bot] avatar Apr 28 '22 11:04 stale[bot]