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

GoDebugRestart #2388

Closed
exostasis opened this issue Jul 9, 2019 · 0 comments · Fixed by #2390
Closed

GoDebugRestart #2388

exostasis opened this issue Jul 9, 2019 · 0 comments · Fixed by #2390

Comments

@exostasis
Copy link

What did you do? (required: The issue will be closed when not provided)

Run :GoDebugStart
Run :GoDebugRestart

What did you expect to happen?

:GoDebugRestart would restart the debug session

What happened instead?

vim-go: [debug] SUCCESS
vim-go: Vim(call):E119: Not enough arguments for function: go#debug#Start

looking at at line 891 of autoload/go/debug.vim
call call('go#debug#Start', s:start_args)
the function definition for go#debug#Start at line 556 of autoload/go/debug.vim

function! go#debug#Start(is_test, ...)
expects a is test value

Configuration (MUST fill this out):

Simple go file

package main

import "fmt" 
  
func main() {
          fmt.Println("vim-go")
}

vim-go version:

g:plugs['vim-go'].commit = '3ab5d6c'

vimrc you used to reproduce (use a minimal vimrc with other plugins disabled; do not link to a 2,000 line vimrc):

vimrc
call plug#begin('~/.vim/plugged')
Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' }

call plug#end()

Vim version (first three lines from :version):

VIM - Vi IMproved 8.1 (2018 May 18, compiled Jul 4 2019 23:02:48)

Go version (go version):

go version go1.12.6 linux/amd64

Go environment

go env Output:
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/exo/.cache/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/exo/go"
GOPROXY=""
GORACE=""
GOROOT="/usr/lib/go"
GOTMPDIR=""
GOTOOLDIR="/usr/lib/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build463300273=/tmp/go-build -gno-record-gcc-switches"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant