Skip to content

coc-java-vimspector gives error when trying to launch debugger on java file #1

@Kan-Rup

Description

@Kan-Rup

Neovim version : v 0.6.0
OS : Debian GNU/Linux 11 (bullseye)

How to reproduce the issue

install coc.nvim
install coc-java
install coc-java-vimspector

(launch nvim) nvim.appimage MainClass.java (only one main class in the directory)

enter command ' :CocList mainClassListRun ' (F5 doesn't do anything)

select the only main class there is in the directory from the option given

(I have not made an ‘eclipse project’ for the Java file (as it says in the use section of https://github.com/lidulibai/coc-java-vimspector). this is just a .java and .class file in a directory. I don't know if I have ' Language Support for Java(TM) by Red Hat ' I don't have ext in my Debian machine.

Expected behaviour : The debugger window starts and I am able to use it.

Actual behaviour :
[coc.nvim]: UnhandledRejection: request error nvim_eval - Vim:E117: Unknown function: vimspector#LaunchWithSettings
Error
at wF.request (/home/kaushan/.vim/plugged/coc.nvim/build/index.js:30:34430)
at wF.eval (/home/kaushan/.vim/plugged/coc.nvim/build/index.js:33:3288)
at Object.startVimspector (/home/kaushan/.config/coc/extensions/node_modules/coc-java-vimspector/lib/index.js:17703:38)

hope this is the right place for this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions