Skip to content
This repository has been archived by the owner on Nov 24, 2023. It is now read-only.

gomod can't debug on VS code #121

Closed
YuanDdQiao opened this issue Apr 22, 2019 · 0 comments
Closed

gomod can't debug on VS code #121

YuanDdQiao opened this issue Apr 22, 2019 · 0 comments
Labels
question This issue is a question

Comments

@YuanDdQiao
Copy link

i'm git clone https://github.com/pingcap/dm
and run "start debugging" on vs code IDE ,
it's does't work and raised "undefined: unix.Statfs_t"
but i'm checked "F:\source-tree\pkg\mod\golang.org/x/sys/unix" ,it's exists .

what can i do for debugging on module

F:\gomodworkspace\dm>go env
set GOARCH=amd64
set GOBIN=F:\source-tree\bin
set GOCACHE=C:\Users\admin pc\AppData\Local\go-build
set GOEXE=.exe
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOOS=windows
set GOPATH=F:\source-tree
set GOPROXY=
set GORACE=
set GOROOT=C:\Go
set GOTMPDIR=
set GOTOOLDIR=C:\Go\pkg\tool\windows_amd64
set GCCGO=gccgo
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=F:\gomodworkspace\dm\go.mod
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0 -fdebug-prefix-map=C:\Users\ADMINP~1\AppData\Local\Temp\go-build820054998=/tmp/go-build -gno-record-gcc-switches

F:\gomodworkspace\dm>

@YuanDdQiao YuanDdQiao added the question This issue is a question label Apr 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question This issue is a question
Projects
None yet
Development

No branches or pull requests

1 participant