Vim-go Delve Deugging


(Karthick) #1

Vim-Go

Am trying to setup vim for go dev work.Following instructions and documentation from vim-go managed to setup most of features excluding debugger.
when i tried the inbuilt command to invoke debugger:GoDebugStart i get the following error

vim-go: can't load package: package debugger: cannot find package "debugger" in any of:
vim-go:         /usr/local/go/src/debugger (from $GOROOT)
vim-go:         /Users/xxxxx/go/src/debugger (from $GOPATH)
vim-go: exit status 1

i did reinstall delve and is working as expected on its own.

Delve details

Delve Debugger
Version: 1.2.0
Build: b113f0d5162886415216499ab3ac807804f4164b

Vim details

VIM - Vi IMproved 8.1 (2018 May 18, compiled Apr 23 2019 20:00:52)
macOS version
Included patches: 1-1200
Compiled by Homebrew

Any help and pointers appreciated.
thanks


(Karthick Ayyapillai) #2

this is due to version issue in vim-go.
simple git pull request to the latest version along with :GoInstallBinaries for the gopls is resolved and working as expected.


(system) closed #3

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.