We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
package main import ( "fmt" "time" ) func main() { now := time.Now() fmt.Println(now) }
:GoDebugStart
:GoDebugContinue
:GoDebugStep
It takes exactly 20 seconds until debug step is complete and nvim is usable again.
Note: this does NOT happen with vim, but only with NeoVIM.
vim-go ran in a 20 seconds RPC timeout from here:
vim-go/autoload/go/debug.vim
Line 653 in feef9b3
ERR: 2024-04-16T12:04:07+02:00 debug layer=rpc -> *rpc2.ListBreakpointsOut{"Breakpoints":[{"id":-1,"name":"unrecovered-panic","addr":4445380,"addrs":[4445380],"addrpid":[253150],"file":"/nix/store/fqzds43dcw7164rm1h51n54l2ipxi1qj-go- ERR: 2024-04-16T12:04:27+02:00 debug layer=rpc <- RPCServer.LastModified(rpc2.LastModifiedIn{}) ... vim-go: failed to sync breakpoints (function <SNR>115_on_data[27]..<SNR>115_handleRPCResult[7]..<SNR>115_handle...int[27]..<SNR>115_sync_breakpoints, line 9): Vim(let):E716: Key not present in Dictionary: "result.Breakpoints"
2024-03-25
14eedf6135cf4253b0ed48a0b53d6834a40da1c4
vimrc
let g:ycm_gopls_binary_path='gopls' let g:ycm_max_num_candidates = 0 let g:go_fmt_command = "goimports" let g:go_metalinter_autosave = 1 let g:go_debug_preserve_layout = 1 let g:go_debug_windows = { \ 'vars': 'rightbelow 61vnew', \ 'stack': 'rightbelow 21new', \ 'out': 'botright 15new', \ } let g:go_debug_mappings = { \ '(go-debug-breakpoint)': {'key': 'b'}, \ '(go-debug-continue)': {'key': 'c'}, \ '(go-debug-next)': {'key': 'n'}, \ '(go-debug-print)': {'key': 'p'}, \ '(go-debug-step)': {'key': 's'}, \ }
:version
NVIM v0.9.4 Build type: Release LuaJIT 2.1.1693350652
go version
go version go1.21.9 linux/amd64
go env
GO111MODULE='' GOARCH='amd64' GOBIN='' GOCACHE='/home/julian/.cache/go-build' GOENV='/home/julian/.config/go/env' GOEXE='' GOEXPERIMENT='' GOFLAGS='' GOHOSTARCH='amd64' GOHOSTOS='linux' GOINSECURE='' GOMODCACHE='/home/julian/go/pkg/mod' GONOPROXY='' GONOSUMDB='' GOOS='linux' GOPATH='/home/julian/go' GOPRIVATE='' GOPROXY='https://proxy.golang.org,direct' GOROOT='/nix/store/fqzds43dcw7164rm1h51n54l2ipxi1qj-go-1.21.9/share/go' GOSUMDB='sum.golang.org' GOTMPDIR='' GOTOOLCHAIN='auto' GOTOOLDIR='/nix/store/fqzds43dcw7164rm1h51n54l2ipxi1qj-go-1.21.9/share/go/pkg/tool/linux_amd64' GOVCS='' GOVERSION='go1.21.9' GCCGO='gccgo' GOAMD64='v1' AR='ar' CC='gcc' CXX='g++' CGO_ENABLED='1' GOMOD='/nix/store/fqzds43dcw7164rm1h51n54l2ipxi1qj-go-1.21.9/share/go/src/go.mod' GOWORK='' CGO_CFLAGS='-O2 -g' CGO_CPPFLAGS='' CGO_CXXFLAGS='-O2 -g' CGO_FFLAGS='-O2 -g' CGO_LDFLAGS='-O2 -g' PKG_CONFIG='pkg-config' GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build2252756228=/tmp/go-build -gno-record-gcc-switches'
gopls version
golang.org/x/tools/gopls v0.15.2
g:go_loaded_gosnippets = 1 g:go_debug_preserve_layout = 1 g:go_debug_mappings = {'(go-debug-step)': {'key': 's'}, '(go-debug-print)': {'key': 'p'}, '(go-debug-next)': {'key': 'n'}, '(go-debug-continue)': {'key': 'c'}, '(go-debug-breakpoint)': {'key': 'b'}} g:go_debug_windows = {'vars': 'rightbelow 61vnew', 'out': 'botright 15new', 'stack': 'rightbelow 21new'} g:go_metalinter_autosave = 1 g:go_fmt_command = 'goimports' g:go_jump_to_error = 1 g:go_loaded_install = 1
filetype detection:ON plugin:ON indent:ON
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What did you do? (required: The issue will be closed when not provided)
:GoDebugStart
:GoDebugContinue
:GoDebugStep
It takes exactly 20 seconds until debug step is complete and nvim is usable again.
Note: this does NOT happen with vim, but only with NeoVIM.
What did you expect to happen?
What happened instead?
vim-go ran in a 20 seconds RPC timeout from here:
vim-go/autoload/go/debug.vim
Line 653 in feef9b3
Configuration (MUST fill this out):
vim-go version:
2024-03-25
/14eedf6135cf4253b0ed48a0b53d6834a40da1c4
vimrc
you used to reproduce:vimrc
Vim version (first three lines from
:version
):NVIM v0.9.4
Build type: Release
LuaJIT 2.1.1693350652
Go version (
go version
):go version go1.21.9 linux/amd64
Go environment
go env
Output:gopls version
gopls version
Output:vim-go configuration:
vim-go configuration
filetype detection configuration:
filetype detection
The text was updated successfully, but these errors were encountered: