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

Debugging won't start if there is an unrecognised breakpoint in remote debugging #1762

Closed
matts1 opened this issue Sep 9, 2021 · 8 comments
Labels
debug/legacy legacy debug adapter related issues - new issues won't be fixed Debug Issues related to the debugging functionality of the extension. FrozenDueToAge
Milestone

Comments

@matts1
Copy link

matts1 commented Sep 9, 2021

What version of Go, VS Code & VS Code Go extension are you using?

Version Information
  • Run go version to get version of Go from the VS Code integrated terminal.
    • 1.15.15 linux/amd64
  • Run gopls -v version to get version of Gopls from the VS Code integrated terminal.
Build info
----------
golang.org/x/tools/gopls v0.7.1
    golang.org/x/tools/gopls@v0.7.1 h1:Mh3Z8Xcoq3Zy7ksSlwDV/nzQSbjFf06A+L+F8YHq55U=
    github.com/BurntSushi/toml@v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ=
    github.com/google/go-cmp@v0.5.5 h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU=
    github.com/sergi/go-diff@v1.1.0 h1:we8PVUC3FE2uYfodKH/nBHMSetSfHDR6scGdBi+erh0=
    golang.org/x/mod@v0.4.2 h1:Gz96sIWK3OalVv/I/qNygP42zyoKp3xptRVCWRFEBvo=
    golang.org/x/sync@v0.0.0-20210220032951-036812b2e83c h1:5KslGYwFpkhGh+Q16bwMP3cOontH8FOep7tGV86Y7SQ=
    golang.org/x/sys@v0.0.0-20210510120138-977fb7262007 h1:gG67DSER+11cZvqIMb8S8bt0vZtiN6xWYARwirrOSfE=
    golang.org/x/tools@v0.1.6-0.20210802203754-9b21a8868e16 h1:ZC/gVBZl8poJyKzWLxxlsmhayVGosF4mohR35szD5Bg=
    golang.org/x/xerrors@v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE=
    honnef.co/go/tools@v0.2.0 h1:ws8AfbgTX3oIczLPNPCu5166oBg9ST2vNs0rcht+mDE=
    mvdan.cc/gofumpt@v0.1.1 h1:bi/1aS/5W00E2ny5q65w9SnKpWEF/UIOqDYBILpo9rA=
    mvdan.cc/xurls/v2@v2.2.0 h1:NSZPykBXJFCetGZykLAxaL6SIpvbVy/UFEniIfHAa8A=
  • Run code -v or code-insiders -v to get version of VS Code or VS Code Insiders.
1.58.0
2d23c42a936db1c7b3b06f918cde29561cc47cd6
x64
  • Check your installed extensions to get the version of the VS Code Go extension
    0.27.2
  • Run Ctrl+Shift+P (Cmd+Shift+P on Mac OS) > Go: Locate Configured Go Tools command.
Checking configured tools....
GOBIN: undefined
toolsGopath: 
gopath: /home/msta/go:/home/msta/chromiumos/src/platform/tast-tests:/home/msta/chromiumos/src/platform/tast:/home/msta/chromiumos/chroot/usr/lib/gopath
GOROOT: /usr/lib/go-1.15
PATH: /home/msta/bin:/home/msta/bin:/home/msta/programs/depot_tools:/home/msta/programs/google-cloud-sdk/bin:/home/msta/IdeaProjects/git-extensions/git-commands:/home/msta/bin:/home/msta/bin:/home/msta/programs/depot_tools:/home/msta/programs/google-cloud-sdk/bin:/home/msta/IdeaProjects/git-extensions/git-commands:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin

	go:	/usr/bin/go: go version go1.15.15 linux/amd64

	gopkgs:	/home/msta/go/bin/gopkgs: go1.15.9
		path	github.com/uudashr/gopkgs/v2/cmd/gopkgs
		mod	github.com/uudashr/gopkgs/v2	v2.1.2	h1:A0+QH6wqNRHORJnxmqfeuBEsK4nYQ7pgcOHhqpqcrpo=
		dep	github.com/karrick/godirwalk	v1.12.0	h1:nkS4xxsjiZMvVlazd0mFyiwD4BR9f3m6LXGhM2TUx3Y=
		dep	github.com/pkg/errors	v0.8.1	h1:iURUrRGxPUNPdy5/HRSm+Yj6okJ6UtLINN0Q9M4+h3I=
	
	go-outline:	/home/msta/go/bin/go-outline: go1.15.9
		path	github.com/ramya-rao-a/go-outline
		mod	github.com/ramya-rao-a/go-outline	v0.0.0-20200117021646-2a048b4510eb	h1:ilZSL4VaIq4Hsi+lH928xQKnSWymFug6r2gJomUBpW8=
		dep	golang.org/x/tools	v0.1.0	h1:po9/4sTYwZU9lPhi1tOrb4hCv3qrhiQ77LZfGa2OjwY=
	
	gotests:	/home/msta/go/bin/gotests: go1.15.9
		path	github.com/cweill/gotests/gotests
		mod	github.com/cweill/gotests	v1.6.0	h1:KJx+/p4EweijYzqPb4Y/8umDCip1Cv6hEVyOx0mE9W8=
		dep	golang.org/x/tools	v0.0.0-20191109212701-97ad0ed33101	h1:LCmXVkvpQCDj724eX6irUTPCJP5GelFHxqGSWL2D1R0=
	
	gomodifytags:	/home/msta/go/bin/gomodifytags: go1.15.9
		path	github.com/fatih/gomodifytags
		mod	github.com/fatih/gomodifytags	v1.13.0	h1:fmhwoecjZ5c34Q2chjRB9cL8Rgag+1TOSMy+grissMc=
		dep	github.com/fatih/camelcase	v1.0.0	h1:hxNvNX/xYBp0ovncs8WyWZrOrpBNub/JfaMvbURyft8=
		dep	github.com/fatih/structtag	v1.2.0	h1:/OdNE99OxoI/PqaW/SuSK9uxxT3f/tcSZgon/ssNSx4=
		dep	golang.org/x/tools	v0.0.0-20180824175216-6c1c5e93cdc1	h1:EAPsk8kfGCjxQagrkWjzXlUWe2p3gj5MknO+z2o9GKc=
	
	impl:	/home/msta/go/bin/impl: go1.15.9
		path	github.com/josharian/impl
		mod	github.com/josharian/impl	v1.0.0	h1:yMibyBqtigRRIK+47NGeIzPWJIPdj8DWvhHRp5gGZJQ=
		dep	golang.org/x/mod	v0.2.0	h1:KU7oHjnv3XNWfa5COkzUifxZmxp1TyI7ImMXqFxLwvQ=
		dep	golang.org/x/tools	v0.0.0-20200522201501-cb1345f3a375	h1:SjQ2+AKWgZLc1xej6WSzL+Dfs5Uyd5xcZH1mGC411IA=
		dep	golang.org/x/xerrors	v0.0.0-20191204190536-9bdfabe68543	h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4=
	
	goplay:	/home/msta/go/bin/goplay: go1.15.9
		path	github.com/haya14busa/goplay/cmd/goplay
		mod	github.com/haya14busa/goplay	v1.0.0	h1:ED4BMrGQ3WH7H3YXrcnWMVzj1xeSepaYTkLh1DtFi/4=
		dep	github.com/skratchdot/open-golang	v0.0.0-20200116055534-eef842397966	h1:JIAuq3EEf9cgbU6AtGPK4CTG3Zf6CKMNqf0MHTggAUA=
	
	dlv:	/home/msta/go/bin/dlv: go1.15.15
		path	github.com/go-delve/delve/cmd/dlv
		mod	github.com/go-delve/delve	(devel)	
		dep	github.com/cosiner/argv	v0.1.0	h1:BVDiEL32lwHukgJKP87btEPenzrrHUjajs/8yzaqcXg=
		dep	github.com/cpuguy83/go-md2man/v2	v2.0.0	
		dep	github.com/derekparker/trie	v0.0.0-20200317170641-1fdf38b7b0e9	
		dep	github.com/google/go-dap	v0.5.1-0.20210713061233-c91b005e3987	
		dep	github.com/hashicorp/golang-lru	v0.5.4	h1:YDjusn29QI/Das2iO9M0BHnIbxPeyuCHsjMW+lJfyTc=
		dep	github.com/mattn/go-isatty	v0.0.3	h1:ns/ykhmWi7G9O+8a448SecJU3nSMBXJfqQkl0upE1jI=
		dep	github.com/peterh/liner	v0.0.0-20170317030525-88609521dc4b	h1:8uaXtUkxiy+T/zdLWuxa/PG4so0TPZDZfafFNNSaptE=
		dep	github.com/russross/blackfriday/v2	v2.0.1	
		dep	github.com/shurcooL/sanitized_anchor_name	v1.0.0	
		dep	github.com/sirupsen/logrus	v1.6.0	h1:UBcNElsrwanuuMsnGSlYmtmgbb23qDR5dG+6X6Oo89I=
		dep	github.com/spf13/cobra	v1.1.3	
		dep	github.com/spf13/pflag	v1.0.5	
		dep	go.starlark.net	v0.0.0-20200821142938-949cc6f4b097	h1:YiRMXXgG+Pg26t1fjq+iAjaauKWMC9cmGFrtOEuwDDg=
		dep	golang.org/x/arch	v0.0.0-20190927153633-4e8777c89be4	h1:QlVATYS7JBoZMVaf+cNjb90WD/beKVHnIxFKT4QaHVI=
		dep	golang.org/x/sys	v0.0.0-20210514084401-e8d321eab015	
		dep	gopkg.in/yaml.v2	v2.4.0	
	
	dlv-dap:	/home/msta/go/bin/dlv-dap: go1.15.15
		path	github.com/go-delve/delve/cmd/dlv
		mod	github.com/go-delve/delve	v1.7.1	h1:RJWK3sLJ/zY25ng6Q9oNsyo5Rmr2PAEWuyFoD1axlbg=
		dep	github.com/cosiner/argv	v0.1.0	h1:BVDiEL32lwHukgJKP87btEPenzrrHUjajs/8yzaqcXg=
		dep	github.com/cpuguy83/go-md2man/v2	v2.0.0	h1:EoUDS0afbrsXAZ9YQ9jdu/mZ2sXgT1/2yyNng4PGlyM=
		dep	github.com/derekparker/trie	v0.0.0-20200317170641-1fdf38b7b0e9	h1:G765iDCq7bP5opdrPkXk+4V3yfkgV9iGFuheWZ/X/zY=
		dep	github.com/google/go-dap	v0.5.0	h1:RMHAVn5xeunBakYk65ggHXttk6qjZVdbmi+xhAoL2wY=
		dep	github.com/hashicorp/golang-lru	v0.5.4	h1:YDjusn29QI/Das2iO9M0BHnIbxPeyuCHsjMW+lJfyTc=
		dep	github.com/mattn/go-isatty	v0.0.3	h1:ns/ykhmWi7G9O+8a448SecJU3nSMBXJfqQkl0upE1jI=
		dep	github.com/peterh/liner	v0.0.0-20170317030525-88609521dc4b	h1:8uaXtUkxiy+T/zdLWuxa/PG4so0TPZDZfafFNNSaptE=
		dep	github.com/russross/blackfriday/v2	v2.0.1	h1:lPqVAte+HuHNfhJ/0LC98ESWRz8afy9tM/0RK8m9o+Q=
		dep	github.com/shurcooL/sanitized_anchor_name	v1.0.0	h1:PdmoCO6wvbs+7yrJyMORt4/BmY5IYyJwS/kOiWx8mHo=
		dep	github.com/sirupsen/logrus	v1.6.0	h1:UBcNElsrwanuuMsnGSlYmtmgbb23qDR5dG+6X6Oo89I=
		dep	github.com/spf13/cobra	v1.1.3	h1:xghbfqPkxzxP3C/f3n5DdpAbdKLj4ZE4BWQI362l53M=
		dep	github.com/spf13/pflag	v1.0.5	h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
		dep	go.starlark.net	v0.0.0-20200821142938-949cc6f4b097	h1:YiRMXXgG+Pg26t1fjq+iAjaauKWMC9cmGFrtOEuwDDg=
		dep	golang.org/x/arch	v0.0.0-20190927153633-4e8777c89be4	h1:QlVATYS7JBoZMVaf+cNjb90WD/beKVHnIxFKT4QaHVI=
		dep	golang.org/x/sys	v0.0.0-20210514084401-e8d321eab015	h1:hZR0X1kPW+nwyJ9xRxqZk1vx5RUObAPBdKVvXPDUH/E=
		dep	gopkg.in/yaml.v2	v2.4.0	h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
	
	staticcheck:	/home/msta/go/bin/staticcheck: go1.15.9
		path	honnef.co/go/tools/cmd/staticcheck
		mod	honnef.co/go/tools	v0.1.3	h1:qTakTkI6ni6LFD5sBwwsdSO+AQqbSIxOauHTTQKZ/7o=
		dep	github.com/BurntSushi/toml	v0.3.1	h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ=
		dep	golang.org/x/mod	v0.3.0	h1:RM4zey1++hCTbCVQfnWeKs9/IEsaBLA8vTkd0WVtmH4=
		dep	golang.org/x/sys	v0.0.0-20210119212857-b64e53b001e4	h1:myAQVi0cGEoqQVR5POX+8RR2mrocKqNN1hmeMqhX27k=
		dep	golang.org/x/tools	v0.1.0	h1:po9/4sTYwZU9lPhi1tOrb4hCv3qrhiQ77LZfGa2OjwY=
		dep	golang.org/x/xerrors	v0.0.0-20200804184101-5ec99f83aff1	h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE=
	
	gopls:	/home/msta/go/bin/gopls: go1.15.9
		path	golang.org/x/tools/gopls
		mod	golang.org/x/tools/gopls	v0.7.1	h1:Mh3Z8Xcoq3Zy7ksSlwDV/nzQSbjFf06A+L+F8YHq55U=
		dep	github.com/BurntSushi/toml	v0.3.1	h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ=
		dep	github.com/google/go-cmp	v0.5.5	h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU=
		dep	github.com/sergi/go-diff	v1.1.0	h1:we8PVUC3FE2uYfodKH/nBHMSetSfHDR6scGdBi+erh0=
		dep	golang.org/x/mod	v0.4.2	h1:Gz96sIWK3OalVv/I/qNygP42zyoKp3xptRVCWRFEBvo=
		dep	golang.org/x/sync	v0.0.0-20210220032951-036812b2e83c	h1:5KslGYwFpkhGh+Q16bwMP3cOontH8FOep7tGV86Y7SQ=
		dep	golang.org/x/sys	v0.0.0-20210510120138-977fb7262007	h1:gG67DSER+11cZvqIMb8S8bt0vZtiN6xWYARwirrOSfE=
		dep	golang.org/x/tools	v0.1.6-0.20210802203754-9b21a8868e16	h1:ZC/gVBZl8poJyKzWLxxlsmhayVGosF4mohR35szD5Bg=
		dep	golang.org/x/xerrors	v0.0.0-20200804184101-5ec99f83aff1	h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE=
		dep	honnef.co/go/tools	v0.2.0	h1:ws8AfbgTX3oIczLPNPCu5166oBg9ST2vNs0rcht+mDE=
		dep	mvdan.cc/gofumpt	v0.1.1	h1:bi/1aS/5W00E2ny5q65w9SnKpWEF/UIOqDYBILpo9rA=
		dep	mvdan.cc/xurls/v2	v2.2.0	h1:NSZPykBXJFCetGZykLAxaL6SIpvbVy/UFEniIfHAa8A=
	

go env
Workspace Folder (tast-tests): /home/msta/chromiumos/src/platform/tast-tests
	GO111MODULE=""
	GOARCH="amd64"
	GOBIN=""
	GOCACHE="/home/msta/.cache/go-build"
	GOENV="/home/msta/.config/go/env"
	GOEXE=""
	GOFLAGS=""
	GOHOSTARCH="amd64"
	GOHOSTOS="linux"
	GOINSECURE=""
	GOMODCACHE="/home/msta/go/pkg/mod"
	GONOPROXY=""
	GONOSUMDB=""
	GOOS="linux"
	GOPATH="/home/msta/go:/home/msta/chromiumos/src/platform/tast-tests:/home/msta/chromiumos/src/platform/tast:/home/msta/chromiumos/chroot/usr/lib/gopath"
	GOPRIVATE=""
	GOPROXY="https://proxy.golang.org,direct"
	GOROOT="/usr/lib/go-1.15"
	GOSUMDB="sum.golang.org"
	GOTMPDIR=""
	GOTOOLDIR="/usr/lib/go-1.15/pkg/tool/linux_amd64"
	GCCGO="gccgo"
	AR="ar"
	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-build638193594=/tmp/go-build -gno-record-gcc-switches"
	
Workspace Folder (tast): /home/msta/chromiumos/src/platform/tast
	GO111MODULE=""
	GOARCH="amd64"
	GOBIN=""
	GOCACHE="/home/msta/.cache/go-build"
	GOENV="/home/msta/.config/go/env"
	GOEXE=""
	GOFLAGS=""
	GOHOSTARCH="amd64"
	GOHOSTOS="linux"
	GOINSECURE=""
	GOMODCACHE="/home/msta/go/pkg/mod"
	GONOPROXY=""
	GONOSUMDB=""
	GOOS="linux"
	GOPATH="/home/msta/go:/home/msta/chromiumos/src/platform/tast-tests:/home/msta/chromiumos/src/platform/tast:/home/msta/chromiumos/chroot/usr/lib/gopath"
	GOPRIVATE=""
	GOPROXY="https://proxy.golang.org,direct"
	GOROOT="/usr/lib/go-1.15"
	GOSUMDB="sum.golang.org"
	GOTMPDIR=""
	GOTOOLDIR="/usr/lib/go-1.15/pkg/tool/linux_amd64"
	GCCGO="gccgo"
	AR="ar"
	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-build035033526=/tmp/go-build -gno-record-gcc-switches"
	

Share the Go related settings you have added/edited

"go.toolsManagement.autoUpdate": true,

Describe the bug

When I have breakpoints from a different binary in vscode, and I attempt to attach vscode to a listening instance of delve, it connects, but you cannot start running the binary.

I expect to be able to run a binary, even if I have invalid breakpoints.

Steps to reproduce the behavior:

  1. Create a workspace containing two go files, hello.go and hello_copy.go. They can both contain hello world programs:
package main

import "fmt"

func main() {
    fmt.Println("Hello World!")
}
  1. Create the following launch configuration:
{
            "name": "hello",
            "type": "go",
            "request": "attach",
            "mode": "remote",
            "remotePath": "",
            "port": 2345,
            "host": "127.0.0.1",
            "showlog": true,
            "trace": "log",
            "logOutput": "rpc",
            "apiVersion": 2
}
  1. go build hello.go
  2. Run delve (dlv exec $(pwd)/hello --api-version=2 --headless --listen=:2345)
  3. Create a breakpoint in hello.go on the fmt.Println line, and start the launch configuration. It should break on it.
  4. Add a breakpoint on the fmt.Println line in hello_copy.go, and repeat steps 3 and 4. The program will not run, and offers no error messages or indications that anything is going wrong

Screenshots or recordings

https://streamable.com/fzcxdi

@gopherbot gopherbot added this to the Untriaged milestone Sep 9, 2021
@hyangah
Copy link
Contributor

hyangah commented Sep 9, 2021

Is it necessary to have two conflicting main packages in the same directory?

The legacy debug adapter / extension runs go commands (go list, ...) to retrieve information necessary to map data and package info between the source code base and the debug info embedded inside the compiled binary. I guess go commands won't be happy about the conflicting two main packages.

EDIT: It looks like the failure was not due to the failed go commands, but bugs in path mapping that happen when the file is not included in the file list of the target binary.

@hyangah hyangah added the Debug Issues related to the debugging functionality of the extension. label Sep 9, 2021
@hyangah

This comment has been minimized.

@polinasok
Copy link
Contributor

At least it seems that the failure occurred inside the legacy debug adapter.
I wish the legacy debug adapter handles this type of failure situations better but assuming we plan to deprecate the legacy debug adapter, I don't know if we will fix this.

InitializeRequest
InitializeResponse
AttachRequest
Start remote debugging: connecting 127.0.0.1:2345
Start remote debugging: connecting 127.0.0.1:2345
Unhandled error in debug adapter: TypeError: A is not a function
    at Object.construct (/Users/hakim/.vscode/extensions/golang.go-nightly-2021.9.813/dist/debugAdapter.js:53:295)
    at k (/Users/hakim/.vscode/extensions/golang.go-nightly-2021.9.813/dist/debugAdapter.js:25:18283)
    at Function.value (/Users/hakim/.vscode/extensions/golang.go-nightly-2021.9.813/dist/debugAdapter.js:25:19929)
    at Timeout._onTimeout (/Users/hakim/.vscode/extensions/golang.go-nightly-2021.9.813/dist/debugAdapter.js:69:7055)
    at listOnTimeout (internal/timers.js:554:17)
    at processTimers (internal/timers.js:497:7)

cc @suzmue @polinasok

I don't think this is related. The user session shows no error messages. Your log points to a new issue in Nightly, not released version. I just ran into it myself. It is not limited to any one mode. Filed #1764.

@hyangah
Copy link
Contributor

hyangah commented Sep 9, 2021

Thanks for pointing out. @polinasok Can you capture the log for this original issue?

@polinasok polinasok added the debug/legacy legacy debug adapter related issues - new issues won't be fixed label Sep 9, 2021
@polinasok
Copy link
Contributor

So in theory this should try to set a breakpoint in hello.go and hello-copy.go. The first one should succeed because that's the file in the binary sources. The second one should fail. You can observe this behavior with this explicitly set in launch.json:

"substitutePath":[{ "from": "foo", "to": "bar"}], 

The breakpoint in hello-copy.go will turn grey as Unverified and the other breakpoint will hit.

However, without any substitutePath attribute, the legacy adapter falls back onto an automated path-mapping heuristic, which retrieves the list of source files and tries to map them to local files. That list doesn't have hello-copy.go. Looks like that gets the path mapping code stuck somehow. It never asks dlv to set that breakpoint and never gets an error back. We can see that with the logging turned on the server side:

$ dlv exec $(pwd)/hello --api-version=2 --headless --listen=:2345 --log --log-output=rpc,debugger
API server listening at: [::]:2345
2021-09-09T13:19:28-07:00 debug layer=rpc API server pid = 23257
2021-09-09T13:19:28-07:00 info layer=debugger launching process with args: [/Users/polina/go/src/issue1762/hello]
debugserver-@(#)PROGRAM:LLDB  PROJECT:lldb-1205.0.27
 for x86_64.
Got a connection, launched process /Users/polina/go/src/issue1762/hello (pid = 23261).
2021-09-09T13:19:33-07:00 debug layer=rpc <- RPCServer.GetVersion(api.GetVersionIn{})
2021-09-09T13:19:33-07:00 debug layer=rpc -> *api.GetVersionOut{"DelveVersion":"Version: 1.7.1\nBuild: $Id: 3bde2354aafb5a4043fd59838842c4cd4a8b6f0b $","APIVersion":2,"Backend":"lldb","TargetGoVersion":"Go cmd/compile go1.16.7","MinSupportedVersionOfGo":"1.15.0","MaxSupportedVersionOfGo":"1.17.0"} error: ""
2021-09-09T13:19:33-07:00 debug layer=rpc (async 2) <- RPCServer.State(rpc2.StateIn{"NonBlocking":true})
2021-09-09T13:19:33-07:00 debug layer=rpc (async 2) -> rpc2.StateOut{"State":{"Pid":0,"Running":false,"Recording":false,"CoreDumping":false,"currentThread":{"id":9180369,"pc":144941056,"file":"","line":0,"goroutineID":0,"ReturnValues":null,"CallReturn":false},"Threads":[{"id":9180369,"pc":144941056,"file":"","line":0,"goroutineID":0,"ReturnValues":null,"CallReturn":false}],"NextInProgress":false,"WatchOutOfScope":[],"exited":false,"exitStatus":0,"When":""}} error: ""
2021-09-09T13:19:33-07:00 debug layer=rpc (async 3) <- RPCServer.State(rpc2.StateIn{"NonBlocking":true})
2021-09-09T13:19:33-07:00 debug layer=rpc (async 3) -> rpc2.StateOut{"State":{"Pid":0,"Running":false,"Recording":false,"CoreDumping":false,"currentThread":{"id":9180369,"pc":144941056,"file":"","line":0,"goroutineID":0,"ReturnValues":null,"CallReturn":false},"Threads":[{"id":9180369,"pc":144941056,"file":"","line":0,"goroutineID":0,"ReturnValues":null,"CallReturn":false}],"NextInProgress":false,"WatchOutOfScope":[],"exited":false,"exitStatus":0,"When":""}} error: ""
2021-09-09T13:19:33-07:00 debug layer=rpc <- RPCServer.ListPackagesBuildInfo(rpc2.ListPackagesBuildInfoIn{"IncludeFiles":true})
2021-09-09T13:19:33-07:00 debug layer=rpc -> *rpc2.ListPackagesBuildInfoOut{"List":[{"ImportPath":"errors","DirectoryPath":"/usr/local/go/src/errors","Files":["/usr/local/go/src/errors/errors.go","/usr/local/go/src/errors/wrap.go","/usr/local/go/src/internal/reflectlite/type.go","/usr/local/go/src/internal/reflectlite/value.go","\u003cautogenerated\u003e","\u003cmissing\u003e_5"]},{"ImportPath":"fmt","DirectoryPath":"/usr/local/go/src/fmt","Files":["/usr/local/go/src/errors/errors.go","/usr/local/go/src/fmt/doc.go","/usr/local/go/src/fmt/errors.go","/usr/local/go/src/fmt/format.go","/usr/local/go/src/fmt/print.go","/usr/local/go/src/fmt/scan.go","/usr/local/go/src/internal/fmtsort/sort.go","/usr/local/go/src/internal/poll/fd_fsync_darwin.go","/usr/local/go/src/internal/poll/fd_mutex.go","/usr/local/go/src/internal/poll/fd_opendir_darwin.go","/usr/local/go/src/internal/poll/fd_poll_runtime.go","/usr/local/go/src/internal/poll/fd_posix.go","/usr/local/go/src/internal/poll/fd_unix.go","/usr/local/go/src/internal/poll/sockopt.go","/usr/local/go/src/internal/poll/sockopt_unix.go","/usr/local/go/src/internal/poll/sockoptip.go","/usr/local/go/src/internal/poll/writev.go","/usr/local/go/src/io/fs/fs.go","/usr/local/go/src/io/io.go","/usr/local/go/src/math/ldexp.go","/usr/local/go/src/os/dir.go","/usr/local/go/src/os/dir_darwin.go","/usr/local/go/src/os/file.go","/usr/local/go/src/os/file_posix.go","/usr/local/go/src/os/file_unix.go","/usr/local/go/src/os/readfrom_stub.go","/usr/local/go/src/os/stat_unix.go","/usr/local/go/src/os/types.go","/usr/local/go/src/reflect/type.go","/usr/local/go/src/reflect/value.go","/usr/local/go/src/strconv/atof.go","/usr/local/go/src/strconv/atoi.go","/usr/local/go/src/strconv/ftoa.go","/usr/local/go/src/strconv/quote.go","/usr/local/go/src/sync/cond.go","/usr/local/go/src/sync/pool.go","/usr/local/go/src/sync/poolqueue.go","/usr/local/go/src/syscall/net.go","/usr/local/go/src/syscall/syscall.go","/usr/local/go/src/syscall/syscall_darwin_amd64.go","/usr/local/go/src/syscall/syscall_unix.go","/usr/local/go/src/syscall/ztypes_darwin_amd64.go","/usr/local/go/src/time/format.go","/usr/local/go/src/time/time.go","/usr/local/go/src/time/zoneinfo.go","/usr/local/go/src/unicode/utf8/utf8.go","\u003cautogenerated\u003e","\u003cmissing\u003e_47"]},{"ImportPath":"internal/bytealg","DirectoryPath":"/usr/local/go/src/internal/bytealg","Files":["/usr/local/go/src/internal/bytealg/bytealg.go","/usr/local/go/src/internal/bytealg/compare_amd64.s","/usr/local/go/src/internal/bytealg/compare_native.go","/usr/local/go/src/internal/bytealg/count_native.go","/usr/local/go/src/internal/bytealg/equal_amd64.s","/usr/local/go/src/internal/bytealg/equal_generic.go","/usr/local/go/src/internal/bytealg/equal_native.go","/usr/local/go/src/internal/bytealg/index_amd64.go","/usr/local/go/src/internal/bytealg/index_native.go","/usr/local/go/src/internal/bytealg/indexbyte_amd64.s","/usr/local/go/src/internal/bytealg/indexbyte_native.go","/usr/local/go/src/internal/cpu/cpu.go","\u003cautogenerated\u003e"]},{"ImportPath":"internal/cpu","DirectoryPath":"/usr/local/go/src/internal/cpu","Files":["/usr/local/go/src/internal/cpu/cpu.go","/usr/local/go/src/internal/cpu/cpu_amd64.go","/usr/local/go/src/internal/cpu/cpu_x86.go","/usr/local/go/src/internal/cpu/cpu_x86.s","\u003cautogenerated\u003e"]},{"ImportPath":"internal/fmtsort","DirectoryPath":"/usr/local/go/src/internal/fmtsort","Files":["/usr/local/go/src/internal/fmtsort/sort.go","/usr/local/go/src/math/const.go","/usr/local/go/src/reflect/type.go","/usr/local/go/src/reflect/value.go","/usr/local/go/src/sort/sort.go","/usr/local/go/src/strconv/itoa.go","\u003cautogenerated\u003e","\u003cmissing\u003e_5"]},{"ImportPath":"internal/oserror","DirectoryPath":"/usr/local/go/src/internal/oserror","Files":["/usr/local/go/src/errors/errors.go","/usr/local/go/src/internal/oserror/errors.go","\u003cautogenerated\u003e"]},{"ImportPath":"internal/poll","DirectoryPath":"/usr/local/go/src/internal/poll","Files":["/usr/local/go/src/errors/errors.go","/usr/local/go/src/internal/poll/errno_unix.go","/usr/local/go/src/internal/poll/fcntl_libc.go","/usr/local/go/src/internal/poll/fd.go","/usr/local/go/src/internal/poll/fd_fsync_darwin.go","/usr/local/go/src/internal/poll/fd_mutex.go","/usr/local/go/src/internal/poll/fd_opendir_darwin.go","/usr/local/go/src/internal/poll/fd_poll_runtime.go","/usr/local/go/src/internal/poll/fd_posix.go","/usr/local/go/src/internal/poll/fd_unix.go","/usr/local/go/src/internal/poll/fd_writev_darwin.go","/usr/local/go/src/internal/poll/hook_unix.go","/usr/local/go/src/internal/poll/iovec_unix.go","/usr/local/go/src/internal/poll/sockopt.go","/usr/local/go/src/internal/poll/sockopt_unix.go","/usr/local/go/src/internal/poll/sockoptip.go","/usr/local/go/src/internal/poll/sys_cloexec.go","/usr/local/go/src/internal/poll/writev.go","/usr/local/go/src/internal/race/norace.go","/usr/local/go/src/io/io.go","/usr/local/go/src/sync/atomic/doc.go","/usr/local/go/src/sync/mutex.go","/usr/local/go/src/sync/once.go","/usr/local/go/src/sync/runtime.go","/usr/local/go/src/sync/rwmutex.go","/usr/local/go/src/syscall/exec_unix.go","/usr/local/go/src/syscall/msan0.go","/usr/local/go/src/syscall/syscall.go","/usr/local/go/src/syscall/syscall_bsd.go","/usr/local/go/src/syscall/syscall_darwin_amd64.go","/usr/local/go/src/syscall/syscall_unix.go","/usr/local/go/src/syscall/time_nofake.go","/usr/local/go/src/syscall/zerrors_darwin_amd64.go","/usr/local/go/src/syscall/zsyscall_darwin_amd64.go","/usr/local/go/src/syscall/ztypes_darwin_amd64.go","/usr/local/go/src/time/format.go","/usr/local/go/src/time/time.go","/usr/local/go/src/time/zoneinfo.go","\u003cautogenerated\u003e","\u003cmissing\u003e_37"]},{"ImportPath":"internal/reflectlite","DirectoryPath":"/usr/local/go/src/internal/reflectlite","Files":["/usr/local/go/src/internal/reflectlite/swapper.go","/usr/local/go/src/internal/reflectlite/type.go","/usr/local/go/src/internal/reflectlite/value.go","/usr/local/go/src/internal/unsafeheader/unsafeheader.go","/usr/local/go/src/runtime/extern.go","/usr/local/go/src/runtime/iface.go","/usr/local/go/src/runtime/plugin.go","/usr/local/go/src/runtime/runtime2.go","/usr/local/go/src/runtime/stack.go","/usr/local/go/src/runtime/symtab.go","/usr/local/go/src/runtime/type.go","\u003cautogenerated\u003e"]},{"ImportPath":"internal/syscall/unix","DirectoryPath":"/usr/local/go/src/internal/syscall/unix","Files":["/usr/local/go/src/internal/syscall/unix/at_darwin.go","/usr/local/go/src/internal/syscall/unix/at_sysnum_darwin.go","/usr/local/go/src/internal/syscall/unix/nonblocking_libc.go","/usr/local/go/src/syscall/syscall.go","/usr/local/go/src/syscall/zerrors_darwin_amd64.go","/usr/local/go/src/syscall/ztypes_darwin_amd64.go","\u003cautogenerated\u003e"]},{"ImportPath":"internal/testlog","DirectoryPath":"/usr/local/go/src/internal/testlog","Files":["/usr/local/go/src/internal/race/norace.go","/usr/local/go/src/internal/testlog/exit.go","/usr/local/go/src/internal/testlog/log.go","/usr/local/go/src/sync/atomic/doc.go","/usr/local/go/src/sync/atomic/value.go","/usr/local/go/src/sync/mutex.go","\u003cautogenerated\u003e","\u003cmissing\u003e_7"]},{"ImportPath":"io","DirectoryPath":"/usr/local/go/src/io","Files":["/usr/local/go/src/errors/errors.go","/usr/local/go/src/internal/race/norace.go","/usr/local/go/src/io/io.go","/usr/local/go/src/io/multi.go","/usr/local/go/src/io/pipe.go","/usr/local/go/src/sync/atomic/doc.go","/usr/local/go/src/sync/cond.go","/usr/local/go/src/sync/mutex.go","/usr/local/go/src/sync/once.go","/usr/local/go/src/sync/pool.go","/usr/local/go/src/sync/poolqueue.go","\u003cautogenerated\u003e"]},{"ImportPath":"main","DirectoryPath":"/Users/polina/go/src/issue1762","Files":["/Users/polina/go/src/issue1762/hello.go","/usr/local/go/src/fmt/print.go","/usr/local/go/src/internal/poll/fd_fsync_darwin.go","/usr/local/go/src/internal/poll/fd_mutex.go","/usr/local/go/src/internal/poll/fd_opendir_darwin.go","/usr/local/go/src/internal/poll/fd_poll_runtime.go","/usr/local/go/src/internal/poll/fd_posix.go","/usr/local/go/src/internal/poll/fd_unix.go","/usr/local/go/src/internal/poll/sockopt.go","/usr/local/go/src/internal/poll/sockopt_unix.go","/usr/local/go/src/internal/poll/sockoptip.go","/usr/local/go/src/internal/poll/writev.go","/usr/local/go/src/io/fs/fs.go","/usr/local/go/src/io/io.go","/usr/local/go/src/os/dir.go","/usr/local/go/src/os/dir_darwin.go","/usr/local/go/src/os/file.go","/usr/local/go/src/os/file_posix.go","/usr/local/go/src/os/file_unix.go","/usr/local/go/src/os/readfrom_stub.go","/usr/local/go/src/os/stat_unix.go","/usr/local/go/src/os/types.go","/usr/local/go/src/syscall/net.go","/usr/local/go/src/syscall/syscall.go","/usr/local/go/src/syscall/syscall_darwin_amd64.go","/usr/local/go/src/syscall/syscall_unix.go","/usr/local/go/src/syscall/ztypes_darwin_amd64.go","/usr/local/go/src/time/format.go","/usr/local/go/src/time/time.go","/usr/local/go/src/time/zoneinfo.go","\u003cautogenerated\u003e","_gomod_.go"]},{"ImportPath":"math","DirectoryPath":"/usr/local/go/src/math","Files":["/usr/local/go/src/internal/cpu/cpu.go","/usr/local/go/src/math/abs.go","/usr/local/go/src/math/acosh.go","/usr/local/go/src/math/asin.go","/usr/local/go/src/math/asinh.go","/usr/local/go/src/math/atan.go","/usr/local/go/src/math/atan2.go","/usr/local/go/src/math/atanh.go","/usr/local/go/src/math/bits.go","/usr/local/go/src/math/bits/bits.go","/usr/local/go/src/math/cbrt.go","/usr/local/go/src/math/const.go","/usr/local/go/src/math/copysign.go","/usr/local/go/src/math/dim.go","/usr/local/go/src/math/erf.go","/usr/local/go/src/math/erfinv.go","/usr/local/go/src/math/exp.go","/usr/local/go/src/math/exp_asm.go","/usr/local/go/src/math/expm1.go","/usr/local/go/src/math/floor.go","/usr/local/go/src/math/fma.go","/usr/local/go/src/math/frexp.go","/usr/local/go/src/math/gamma.go","/usr/local/go/src/math/hypot.go","/usr/local/go/src/math/j0.go","/usr/local/go/src/math/j1.go","/usr/local/go/src/math/jn.go","/usr/local/go/src/math/ldexp.go","/usr/local/go/src/math/lgamma.go","/usr/local/go/src/math/log.go","/usr/local/go/src/math/log10.go","/usr/local/go/src/math/log1p.go","/usr/local/go/src/math/logb.go","/usr/local/go/src/math/mod.go","/usr/local/go/src/math/modf.go","/usr/local/go/src/math/nextafter.go","/usr/local/go/src/math/pow.go","/usr/local/go/src/math/pow10.go","/usr/local/go/src/math/remainder.go","/usr/local/go/src/math/signbit.go","/usr/local/go/src/math/sin.go","/usr/local/go/src/math/sincos.go","/usr/local/go/src/math/sinh.go","/usr/local/go/src/math/sqrt.go","/usr/local/go/src/math/tan.go","/usr/local/go/src/math/tanh.go","/usr/local/go/src/math/trig_reduce.go","/usr/local/go/src/math/unsafe.go","\u003cautogenerated\u003e"]},{"ImportPath":"os","DirectoryPath":"/usr/local/go/src/os","Files":["/usr/local/go/src/errors/errors.go","/usr/local/go/src/internal/oserror/errors.go","/usr/local/go/src/internal/poll/fd.go","/usr/local/go/src/internal/poll/fd_fsync_darwin.go","/usr/local/go/src/internal/poll/fd_mutex.go","/usr/local/go/src/internal/poll/fd_opendir_darwin.go","/usr/local/go/src/internal/poll/fd_poll_runtime.go","/usr/local/go/src/internal/poll/fd_posix.go","/usr/local/go/src/internal/poll/fd_unix.go","/usr/local/go/src/internal/poll/sockopt.go","/usr/local/go/src/internal/poll/sockopt_unix.go","/usr/local/go/src/internal/poll/sockoptip.go","/usr/local/go/src/internal/poll/writev.go","/usr/local/go/src/internal/race/norace.go","/usr/local/go/src/internal/syscall/execenv/execenv_default.go","/usr/local/go/src/internal/syscall/unix/at_darwin.go","/usr/local/go/src/internal/syscall/unix/at_sysnum_darwin.go","/usr/local/go/src/internal/syscall/unix/nonblocking_libc.go","/usr/local/go/src/internal/testlog/exit.go","/usr/local/go/src/internal/testlog/log.go","/usr/local/go/src/io/fs/fs.go","/usr/local/go/src/io/io.go","/usr/local/go/src/os/dir.go","/usr/local/go/src/os/dir_darwin.go","/usr/local/go/src/os/endian_little.go","/usr/local/go/src/os/env.go","/usr/local/go/src/os/error.go","/usr/local/go/src/os/error_errno.go","/usr/local/go/src/os/error_posix.go","/usr/local/go/src/os/exec.go","/usr/local/go/src/os/exec_posix.go","/usr/local/go/src/os/exec_unix.go","/usr/local/go/src/os/executable.go","/usr/local/go/src/os/executable_darwin.go","/usr/local/go/src/os/file.go","/usr/local/go/src/os/file_posix.go","/usr/local/go/src/os/file_unix.go","/usr/local/go/src/os/getwd.go","/usr/local/go/src/os/path.go","/usr/local/go/src/os/path_unix.go","/usr/local/go/src/os/pipe_bsd.go","/usr/local/go/src/os/proc.go","/usr/local/go/src/os/rawconn.go","/usr/local/go/src/os/readfrom_stub.go","/usr/local/go/src/os/removeall_at.go","/usr/local/go/src/os/stat.go","/usr/local/go/src/os/stat_darwin.go","/usr/local/go/src/os/stat_unix.go","/usr/local/go/src/os/sticky_bsd.go","/usr/local/go/src/os/str.go","/usr/local/go/src/os/sys.go","/usr/local/go/src/os/sys_bsd.go","/usr/local/go/src/os/sys_unix.go","/usr/local/go/src/os/tempfile.go","/usr/local/go/src/os/types.go","/usr/local/go/src/os/types_unix.go","/usr/local/go/src/os/wait_unimp.go","/usr/local/go/src/runtime/extern.go","/usr/local/go/src/runtime/mfinal.go","/usr/local/go/src/sort/slice.go","/usr/local/go/src/sync/atomic/doc.go","/usr/local/go/src/sync/atomic/value.go","/usr/local/go/src/sync/mutex.go","/usr/local/go/src/sync/runtime.go","/usr/local/go/src/sync/rwmutex.go","/usr/local/go/src/syscall/env_unix.go","/usr/local/go/src/syscall/exec_libc2.go","/usr/local/go/src/syscall/exec_unix.go","/usr/local/go/src/syscall/net.go","/usr/local/go/src/syscall/syscall.go","/usr/local/go/src/syscall/syscall_bsd.go","/usr/local/go/src/syscall/syscall_darwin.go","/usr/local/go/src/syscall/syscall_darwin_amd64.go","/usr/local/go/src/syscall/syscall_unix.go","/usr/local/go/src/syscall/timestruct.go","/usr/local/go/src/syscall/zerrors_darwin_amd64.go","/usr/local/go/src/syscall/zsyscall_darwin_amd64.go","/usr/local/go/src/syscall/ztypes_darwin_amd64.go","/usr/local/go/src/time/format.go","/usr/local/go/src/time/time.go","/usr/local/go/src/time/zoneinfo.go","\u003cautogenerated\u003e","\u003cmissing\u003e_79"]},{"ImportPath":"path","DirectoryPath":"/usr/local/go/src/path","Files":["/usr/local/go/src/errors/errors.go","/usr/local/go/src/internal/bytealg/indexbyte_native.go","/usr/local/go/src/path/match.go","/usr/local/go/src/path/path.go","/usr/local/go/src/unicode/utf8/utf8.go","\u003cautogenerated\u003e"]},{"ImportPath":"reflect","DirectoryPath":"/usr/local/go/src/reflect","Files":["/usr/local/go/src/internal/race/norace.go","/usr/local/go/src/internal/unsafeheader/unsafeheader.go","/usr/local/go/src/math/const.go","/usr/local/go/src/math/unsafe.go","/usr/local/go/src/reflect/asm_amd64.s","/usr/local/go/src/reflect/deepequal.go","/usr/local/go/src/reflect/makefunc.go","/usr/local/go/src/reflect/swapper.go","/usr/local/go/src/reflect/type.go","/usr/local/go/src/reflect/value.go","/usr/local/go/src/runtime/extern.go","/usr/local/go/src/runtime/iface.go","/usr/local/go/src/runtime/mfinal.go","/usr/local/go/src/runtime/mgc.go","/usr/local/go/src/runtime/plugin.go","/usr/local/go/src/runtime/runtime2.go","/usr/local/go/src/runtime/stack.go","/usr/local/go/src/runtime/symtab.go","/usr/local/go/src/runtime/type.go","/usr/local/go/src/strconv/itoa.go","/usr/local/go/src/strconv/quote.go","/usr/local/go/src/sync/atomic/doc.go","/usr/local/go/src/sync/atomic/value.go","/usr/local/go/src/sync/cond.go","/usr/local/go/src/sync/map.go","/usr/local/go/src/sync/mutex.go","/usr/local/go/src/sync/pool.go","/usr/local/go/src/sync/poolqueue.go","/usr/local/go/src/unicode/digit.go","/usr/local/go/src/unicode/graphic.go","/usr/local/go/src/unicode/letter.go","/usr/local/go/src/unicode/tables.go","/usr/local/go/src/unicode/utf8/utf8.go","\u003cautogenerated\u003e","\u003cmissing\u003e_33"]},{"ImportPath":"runtime","DirectoryPath":"/usr/local/go/src/runtime","Files":["/usr/local/go/src/internal/bytealg/indexbyte_native.go","/usr/local/go/src/internal/cpu/cpu.go","/usr/local/go/src/internal/cpu/cpu_x86.go","/usr/local/go/src/runtime/alg.go","/usr/local/go/src/runtime/asm_amd64.s","/usr/local/go/src/runtime/atomic_pointer.go","/usr/local/go/src/runtime/cgo.go","/usr/local/go/src/runtime/cgocall.go","/usr/local/go/src/runtime/cgocallback.go","/usr/local/go/src/runtime/cgocheck.go","/usr/local/go/src/runtime/chan.go","/usr/local/go/src/runtime/checkptr.go","/usr/local/go/src/runtime/compiler.go","/usr/local/go/src/runtime/complex.go","/usr/local/go/src/runtime/cpuflags.go","/usr/local/go/src/runtime/cpuflags_amd64.go","/usr/local/go/src/runtime/cpuprof.go","/usr/local/go/src/runtime/cputicks.go","/usr/local/go/src/runtime/debug.go","/usr/local/go/src/runtime/debugcall.go","/usr/local/go/src/runtime/debuglog.go","/usr/local/go/src/runtime/debuglog_off.go","/usr/local/go/src/runtime/defs_darwin_amd64.go","/usr/local/go/src/runtime/duff_amd64.s","/usr/local/go/src/runtime/env_posix.go","/usr/local/go/src/runtime/error.go","/usr/local/go/src/runtime/extern.go","/usr/local/go/src/runtime/fastlog2.go","/usr/local/go/src/runtime/fastlog2table.go","/usr/local/go/src/runtime/float.go","/usr/local/go/src/runtime/hash64.go","/usr/local/go/src/runtime/heapdump.go","/usr/local/go/src/runtime/histogram.go","/usr/local/go/src/runtime/iface.go","/usr/local/go/src/runtime/internal/atomic/atomic_amd64.go","/usr/local/go/src/runtime/internal/atomic/stubs.go","/usr/local/go/src/runtime/internal/math/math.go","/usr/local/go/src/runtime/internal/sys/arch.go","/usr/local/go/src/runtime/internal/sys/arch_amd64.go","/usr/local/go/src/runtime/internal/sys/intrinsics.go","/usr/local/go/src/runtime/internal/sys/intrinsics_common.go","/usr/local/go/src/runtime/internal/sys/stubs.go","/usr/local/go/src/runtime/internal/sys/zgoarch_amd64.go","/usr/local/go/src/runtime/internal/sys/zgoos_darwin.go","/usr/local/go/src/runtime/internal/sys/zversion.go","/usr/local/go/src/runtime/lfstack.go","/usr/local/go/src/runtime/lfstack_64bit.go","/usr/local/go/src/runtime/lock_sema.go","/usr/local/go/src/runtime/lockrank.go","/usr/local/go/src/runtime/lockrank_off.go","/usr/local/go/src/runtime/malloc.go","/usr/local/go/src/runtime/map.go","/usr/local/go/src/runtime/map_fast32.go","/usr/local/go/src/runtime/map_fast64.go","/usr/local/go/src/runtime/map_faststr.go","/usr/local/go/src/runtime/mbarrier.go","/usr/local/go/src/runtime/mbitmap.go","/usr/local/go/src/runtime/mcache.go","/usr/local/go/src/runtime/mcentral.go","/usr/local/go/src/runtime/mcheckmark.go","/usr/local/go/src/runtime/mem_darwin.go","/usr/local/go/src/runtime/memclr_amd64.s","/usr/local/go/src/runtime/memmove_amd64.s","/usr/local/go/src/runtime/metrics.go","/usr/local/go/src/runtime/mfinal.go","/usr/local/go/src/runtime/mfixalloc.go","/usr/local/go/src/runtime/mgc.go","/usr/local/go/src/runtime/mgcmark.go","/usr/local/go/src/runtime/mgcscavenge.go","/usr/local/go/src/runtime/mgcstack.go","/usr/local/go/src/runtime/mgcsweep.go","/usr/local/go/src/runtime/mgcwork.go","/usr/local/go/src/runtime/mheap.go","/usr/local/go/src/runtime/mpagealloc.go","/usr/local/go/src/runtime/mpagealloc_64bit.go","/usr/local/go/src/runtime/mpagecache.go","/usr/local/go/src/runtime/mpallocbits.go","/usr/local/go/src/runtime/mprof.go","/usr/local/go/src/runtime/mranges.go","/usr/local/go/src/runtime/msan0.go","/usr/local/go/src/runtime/msize.go","/usr/local/go/src/runtime/mspanset.go","/usr/local/go/src/runtime/mstats.go","/usr/local/go/src/runtime/mwbbuf.go","/usr/local/go/src/runtime/nbpipe_pipe.go","/usr/local/go/src/runtime/netpoll.go","/usr/local/go/src/runtime/netpoll_kqueue.go","/usr/local/go/src/runtime/os_darwin.go","/usr/local/go/src/runtime/os_nonopenbsd.go","/usr/local/go/src/runtime/panic.go","/usr/local/go/src/runtime/plugin.go","/usr/local/go/src/runtime/preempt.go","/usr/local/go/src/runtime/preempt_amd64.s","/usr/local/go/src/runtime/preempt_nonwindows.go","/usr/local/go/src/runtime/print.go","/usr/local/go/src/runtime/proc.go","/usr/local/go/src/runtime/profbuf.go","/usr/local/go/src/runtime/proflabel.go","/usr/local/go/src/runtime/race0.go","/usr/local/go/src/runtime/rdebug.go","/usr/local/go/src/runtime/relax_stub.go","/usr/local/go/src/runtime/rt0_darwin_amd64.s","/usr/local/go/src/runtime/runtime.go","/usr/local/go/src/runtime/runtime1.go","/usr/local/go/src/runtime/runtime2.go","/usr/local/go/src/runtime/rwmutex.go","/usr/local/go/src/runtime/select.go","/usr/local/go/src/runtime/sema.go","/usr/local/go/src/runtime/signal_amd64.go","/usr/local/go/src/runtime/signal_darwin.go","/usr/local/go/src/runtime/signal_darwin_amd64.go","/usr/local/go/src/runtime/signal_unix.go","/usr/local/go/src/runtime/sigqueue.go","/usr/local/go/src/runtime/sizeclasses.go","/usr/local/go/src/runtime/slice.go","/usr/local/go/src/runtime/softfloat64.go","/usr/local/go/src/runtime/stack.go","/usr/local/go/src/runtime/string.go","/usr/local/go/src/runtime/stubs.go","/usr/local/go/src/runtime/stubs_amd64.go","/usr/local/go/src/runtime/stubs_nonlinux.go","/usr/local/go/src/runtime/symtab.go","/usr/local/go/src/runtime/sys_darwin.go","/usr/local/go/src/runtime/sys_darwin_amd64.s","/usr/local/go/src/runtime/sys_libc.go","/usr/local/go/src/runtime/sys_nonppc64x.go","/usr/local/go/src/runtime/sys_x86.go","/usr/local/go/src/runtime/time.go","/usr/local/go/src/runtime/time_nofake.go","/usr/local/go/src/runtime/timestub.go","/usr/local/go/src/runtime/trace.go","/usr/local/go/src/runtime/traceback.go","/usr/local/go/src/runtime/type.go","/usr/local/go/src/runtime/typekind.go","/usr/local/go/src/runtime/utf8.go","/usr/local/go/src/runtime/vdso_in_none.go","/usr/local/go/src/runtime/write_err.go","\u003cautogenerated\u003e"]},{"ImportPath":"runtime/internal/atomic","DirectoryPath":"/usr/local/go/src/runtime/internal/atomic","Files":["/usr/local/go/src/runtime/internal/atomic/asm_amd64.s"]},{"ImportPath":"runtime/internal/sys","DirectoryPath":"/usr/local/go/src/runtime/internal/sys","Files":["/usr/local/go/src/runtime/internal/sys/arch.go","/usr/local/go/src/runtime/internal/sys/arch_amd64.go","/usr/local/go/src/runtime/internal/sys/intrinsics.go","/usr/local/go/src/runtime/internal/sys/intrinsics_common.go","/usr/local/go/src/runtime/internal/sys/stubs.go","/usr/local/go/src/runtime/internal/sys/sys.go","/usr/local/go/src/runtime/internal/sys/zgoarch_amd64.go","/usr/local/go/src/runtime/internal/sys/zgoos_darwin.go","/usr/local/go/src/runtime/internal/sys/zversion.go","\u003cautogenerated\u003e"]},{"ImportPath":"sort","DirectoryPath":"/usr/local/go/src/sort","Files":["/usr/local/go/src/internal/reflectlite/swapper.go","/usr/local/go/src/internal/reflectlite/type.go","/usr/local/go/src/internal/reflectlite/value.go","/usr/local/go/src/sort/search.go","/usr/local/go/src/sort/slice.go","/usr/local/go/src/sort/slice_go113.go","/usr/local/go/src/sort/sort.go","/usr/local/go/src/sort/zfuncversion.go","\u003cautogenerated\u003e"]},{"ImportPath":"sync","DirectoryPath":"/usr/local/go/src/sync","Files":["/usr/local/go/src/internal/race/norace.go","/usr/local/go/src/runtime/debug.go","/usr/local/go/src/sync/atomic/doc.go","/usr/local/go/src/sync/atomic/value.go","/usr/local/go/src/sync/cond.go","/usr/local/go/src/sync/map.go","/usr/local/go/src/sync/mutex.go","/usr/local/go/src/sync/once.go","/usr/local/go/src/sync/pool.go","/usr/local/go/src/sync/poolqueue.go","/usr/local/go/src/sync/runtime.go","/usr/local/go/src/sync/runtime2.go","/usr/local/go/src/sync/rwmutex.go","/usr/local/go/src/sync/waitgroup.go","\u003cautogenerated\u003e","\u003cmissing\u003e_15"]},{"ImportPath":"sync/atomic","DirectoryPath":"/usr/local/go/src/sync/atomic","Files":["/usr/local/go/src/sync/atomic/asm.s","/usr/local/go/src/sync/atomic/doc.go","/usr/local/go/src/sync/atomic/value.go","\u003cautogenerated\u003e"]},{"ImportPath":"syscall","DirectoryPath":"/usr/local/go/src/syscall","Files":["/usr/local/go/src/errors/errors.go","/usr/local/go/src/internal/bytealg/indexbyte_native.go","/usr/local/go/src/internal/oserror/errors.go","/usr/local/go/src/internal/race/norace.go","/usr/local/go/src/internal/unsafeheader/unsafeheader.go","/usr/local/go/src/runtime/extern.go","/usr/local/go/src/sync/atomic/doc.go","/usr/local/go/src/sync/mutex.go","/usr/local/go/src/sync/once.go","/usr/local/go/src/sync/runtime.go","/usr/local/go/src/sync/rwmutex.go","/usr/local/go/src/syscall/bpf_darwin.go","/usr/local/go/src/syscall/dirent.go","/usr/local/go/src/syscall/endian_little.go","/usr/local/go/src/syscall/env_unix.go","/usr/local/go/src/syscall/exec_libc2.go","/usr/local/go/src/syscall/exec_unix.go","/usr/local/go/src/syscall/flock_darwin.go","/usr/local/go/src/syscall/forkpipe.go","/usr/local/go/src/syscall/msan0.go","/usr/local/go/src/syscall/net.go","/usr/local/go/src/syscall/ptrace_darwin.go","/usr/local/go/src/syscall/route_bsd.go","/usr/local/go/src/syscall/route_darwin.go","/usr/local/go/src/syscall/sockcmsg_unix.go","/usr/local/go/src/syscall/sockcmsg_unix_other.go","/usr/local/go/src/syscall/str.go","/usr/local/go/src/syscall/syscall.go","/usr/local/go/src/syscall/syscall_bsd.go","/usr/local/go/src/syscall/syscall_darwin.go","/usr/local/go/src/syscall/syscall_darwin_amd64.go","/usr/local/go/src/syscall/syscall_unix.go","/usr/local/go/src/syscall/time_nofake.go","/usr/local/go/src/syscall/timestruct.go","/usr/local/go/src/syscall/zerrors_darwin_amd64.go","/usr/local/go/src/syscall/zsyscall_darwin_amd64.go","/usr/local/go/src/syscall/zsyscall_darwin_amd64.s","/usr/local/go/src/syscall/zsysnum_darwin_amd64.go","/usr/local/go/src/syscall/ztypes_darwin_amd64.go","\u003cautogenerated\u003e","\u003cmissing\u003e_39"]},{"ImportPath":"time","DirectoryPath":"/usr/local/go/src/time","Files":["/usr/local/go/src/errors/errors.go","/usr/local/go/src/internal/race/norace.go","/usr/local/go/src/runtime/env_posix.go","/usr/local/go/src/runtime/extern.go","/usr/local/go/src/runtime/internal/sys/stubs.go","/usr/local/go/src/sync/atomic/doc.go","/usr/local/go/src/sync/mutex.go","/usr/local/go/src/sync/once.go","/usr/local/go/src/syscall/env_unix.go","/usr/local/go/src/syscall/msan0.go","/usr/local/go/src/syscall/syscall_darwin.go","/usr/local/go/src/syscall/syscall_unix.go","/usr/local/go/src/syscall/zerrors_darwin_amd64.go","/usr/local/go/src/syscall/zsyscall_darwin_amd64.go","/usr/local/go/src/time/format.go","/usr/local/go/src/time/sleep.go","/usr/local/go/src/time/sys_unix.go","/usr/local/go/src/time/tick.go","/usr/local/go/src/time/time.go","/usr/local/go/src/time/zoneinfo.go","/usr/local/go/src/time/zoneinfo_read.go","/usr/local/go/src/time/zoneinfo_unix.go","\u003cautogenerated\u003e"]},{"ImportPath":"unicode","DirectoryPath":"/usr/local/go/src/unicode","Files":["/usr/local/go/src/unicode/casetables.go","/usr/local/go/src/unicode/digit.go","/usr/local/go/src/unicode/graphic.go","/usr/local/go/src/unicode/letter.go","/usr/local/go/src/unicode/tables.go","\u003cautogenerated\u003e"]},{"ImportPath":"unicode/utf8","DirectoryPath":"/usr/local/go/src/unicode/utf8","Files":["/usr/local/go/src/unicode/utf8/utf8.go","\u003cautogenerated\u003e"]}]} error: ""
2021-09-09T13:19:33-07:00 debug layer=rpc <- RPCServer.ListSources(rpc2.ListSourcesIn{"Filter":""})
2021-09-09T13:19:33-07:00 debug layer=rpc -> *rpc2.ListSourcesOut{"Sources":["/Users/polina/go/src/issue1762/hello.go","/usr/local/go/src/errors/errors.go","/usr/local/go/src/errors/wrap.go","/usr/local/go/src/fmt/doc.go","/usr/local/go/src/fmt/errors.go","/usr/local/go/src/fmt/format.go","/usr/local/go/src/fmt/print.go","/usr/local/go/src/fmt/scan.go","/usr/local/go/src/internal/bytealg/bytealg.go","/usr/local/go/src/internal/bytealg/compare_amd64.s","/usr/local/go/src/internal/bytealg/compare_native.go","/usr/local/go/src/internal/bytealg/count_native.go","/usr/local/go/src/internal/bytealg/equal_amd64.s","/usr/local/go/src/internal/bytealg/equal_generic.go","/usr/local/go/src/internal/bytealg/equal_native.go","/usr/local/go/src/internal/bytealg/index_amd64.go","/usr/local/go/src/internal/bytealg/index_native.go","/usr/local/go/src/internal/bytealg/indexbyte_amd64.s","/usr/local/go/src/internal/bytealg/indexbyte_native.go","/usr/local/go/src/internal/cpu/cpu.go","/usr/local/go/src/internal/cpu/cpu_amd64.go","/usr/local/go/src/internal/cpu/cpu_x86.go","/usr/local/go/src/internal/cpu/cpu_x86.s","/usr/local/go/src/internal/fmtsort/sort.go","/usr/local/go/src/internal/oserror/errors.go","/usr/local/go/src/internal/poll/errno_unix.go","/usr/local/go/src/internal/poll/fcntl_libc.go","/usr/local/go/src/internal/poll/fd.go","/usr/local/go/src/internal/poll/fd_fsync_darwin.go","/usr/local/go/src/internal/poll/fd_mutex.go","/usr/local/go/src/internal/poll/fd_opendir_darwin.go","/usr/local/go/src/internal/poll/fd_poll_runtime.go","/usr/local/go/src/internal/poll/fd_posix.go","/usr/local/go/src/internal/poll/fd_unix.go","/usr/local/go/src/internal/poll/fd_writev_darwin.go","/usr/local/go/src/internal/poll/hook_unix.go","/usr/local/go/src/internal/poll/iovec_unix.go","/usr/local/go/src/internal/poll/sockopt.go","/usr/local/go/src/internal/poll/sockopt_unix.go","/usr/local/go/src/internal/poll/sockoptip.go","/usr/local/go/src/internal/poll/sys_cloexec.go","/usr/local/go/src/internal/poll/writev.go","/usr/local/go/src/internal/race/norace.go","/usr/local/go/src/internal/reflectlite/swapper.go","/usr/local/go/src/internal/reflectlite/type.go","/usr/local/go/src/internal/reflectlite/value.go","/usr/local/go/src/internal/syscall/execenv/execenv_default.go","/usr/local/go/src/internal/syscall/unix/at_darwin.go","/usr/local/go/src/internal/syscall/unix/at_sysnum_darwin.go","/usr/local/go/src/internal/syscall/unix/nonblocking_libc.go","/usr/local/go/src/internal/testlog/exit.go","/usr/local/go/src/internal/testlog/log.go","/usr/local/go/src/internal/unsafeheader/unsafeheader.go","/usr/local/go/src/io/fs/fs.go","/usr/local/go/src/io/fs/glob.go","/usr/local/go/src/io/fs/readdir.go","/usr/local/go/src/io/fs/readfile.go","/usr/local/go/src/io/fs/stat.go","/usr/local/go/src/io/fs/sub.go","/usr/local/go/src/io/fs/walk.go","/usr/local/go/src/io/io.go","/usr/local/go/src/io/multi.go","/usr/local/go/src/io/pipe.go","/usr/local/go/src/math/abs.go","/usr/local/go/src/math/acosh.go","/usr/local/go/src/math/asin.go","/usr/local/go/src/math/asinh.go","/usr/local/go/src/math/atan.go","/usr/local/go/src/math/atan2.go","/usr/local/go/src/math/atanh.go","/usr/local/go/src/math/bits.go","/usr/local/go/src/math/bits/bits.go","/usr/local/go/src/math/cbrt.go","/usr/local/go/src/math/const.go","/usr/local/go/src/math/copysign.go","/usr/local/go/src/math/dim.go","/usr/local/go/src/math/erf.go","/usr/local/go/src/math/erfinv.go","/usr/local/go/src/math/exp.go","/usr/local/go/src/math/exp_asm.go","/usr/local/go/src/math/expm1.go","/usr/local/go/src/math/floor.go","/usr/local/go/src/math/fma.go","/usr/local/go/src/math/frexp.go","/usr/local/go/src/math/gamma.go","/usr/local/go/src/math/hypot.go","/usr/local/go/src/math/j0.go","/usr/local/go/src/math/j1.go","/usr/local/go/src/math/jn.go","/usr/local/go/src/math/ldexp.go","/usr/local/go/src/math/lgamma.go","/usr/local/go/src/math/log.go","/usr/local/go/src/math/log10.go","/usr/local/go/src/math/log1p.go","/usr/local/go/src/math/logb.go","/usr/local/go/src/math/mod.go","/usr/local/go/src/math/modf.go","/usr/local/go/src/math/nextafter.go","/usr/local/go/src/math/pow.go","/usr/local/go/src/math/pow10.go","/usr/local/go/src/math/remainder.go","/usr/local/go/src/math/signbit.go","/usr/local/go/src/math/sin.go","/usr/local/go/src/math/sincos.go","/usr/local/go/src/math/sinh.go","/usr/local/go/src/math/sqrt.go","/usr/local/go/src/math/tan.go","/usr/local/go/src/math/tanh.go","/usr/local/go/src/math/trig_reduce.go","/usr/local/go/src/math/unsafe.go","/usr/local/go/src/os/dir.go","/usr/local/go/src/os/dir_darwin.go","/usr/local/go/src/os/endian_little.go","/usr/local/go/src/os/env.go","/usr/local/go/src/os/error.go","/usr/local/go/src/os/error_errno.go","/usr/local/go/src/os/error_posix.go","/usr/local/go/src/os/exec.go","/usr/local/go/src/os/exec_posix.go","/usr/local/go/src/os/exec_unix.go","/usr/local/go/src/os/executable.go","/usr/local/go/src/os/executable_darwin.go","/usr/local/go/src/os/file.go","/usr/local/go/src/os/file_posix.go","/usr/local/go/src/os/file_unix.go","/usr/local/go/src/os/getwd.go","/usr/local/go/src/os/path.go","/usr/local/go/src/os/path_unix.go","/usr/local/go/src/os/pipe_bsd.go","/usr/local/go/src/os/proc.go","/usr/local/go/src/os/rawconn.go","/usr/local/go/src/os/readfrom_stub.go","/usr/local/go/src/os/removeall_at.go","/usr/local/go/src/os/stat.go","/usr/local/go/src/os/stat_darwin.go","/usr/local/go/src/os/stat_unix.go","/usr/local/go/src/os/sticky_bsd.go","/usr/local/go/src/os/str.go","/usr/local/go/src/os/sys.go","/usr/local/go/src/os/sys_bsd.go","/usr/local/go/src/os/sys_unix.go","/usr/local/go/src/os/tempfile.go","/usr/local/go/src/os/types.go","/usr/local/go/src/os/types_unix.go","/usr/local/go/src/os/wait_unimp.go","/usr/local/go/src/path/match.go","/usr/local/go/src/path/path.go","/usr/local/go/src/reflect/asm_amd64.s","/usr/local/go/src/reflect/deepequal.go","/usr/local/go/src/reflect/makefunc.go","/usr/local/go/src/reflect/swapper.go","/usr/local/go/src/reflect/type.go","/usr/local/go/src/reflect/value.go","/usr/local/go/src/runtime/alg.go","/usr/local/go/src/runtime/asm_amd64.s","/usr/local/go/src/runtime/atomic_pointer.go","/usr/local/go/src/runtime/cgo.go","/usr/local/go/src/runtime/cgocall.go","/usr/local/go/src/runtime/cgocallback.go","/usr/local/go/src/runtime/cgocheck.go","/usr/local/go/src/runtime/chan.go","/usr/local/go/src/runtime/checkptr.go","/usr/local/go/src/runtime/compiler.go","/usr/local/go/src/runtime/complex.go","/usr/local/go/src/runtime/cpuflags.go","/usr/local/go/src/runtime/cpuflags_amd64.go","/usr/local/go/src/runtime/cpuprof.go","/usr/local/go/src/runtime/cputicks.go","/usr/local/go/src/runtime/debug.go","/usr/local/go/src/runtime/debugcall.go","/usr/local/go/src/runtime/debuglog.go","/usr/local/go/src/runtime/debuglog_off.go","/usr/local/go/src/runtime/defs_darwin_amd64.go","/usr/local/go/src/runtime/duff_amd64.s","/usr/local/go/src/runtime/env_posix.go","/usr/local/go/src/runtime/error.go","/usr/local/go/src/runtime/extern.go","/usr/local/go/src/runtime/fastlog2.go","/usr/local/go/src/runtime/fastlog2table.go","/usr/local/go/src/runtime/float.go","/usr/local/go/src/runtime/hash64.go","/usr/local/go/src/runtime/heapdump.go","/usr/local/go/src/runtime/histogram.go","/usr/local/go/src/runtime/iface.go","/usr/local/go/src/runtime/internal/atomic/asm_amd64.s","/usr/local/go/src/runtime/internal/atomic/atomic_amd64.go","/usr/local/go/src/runtime/internal/atomic/stubs.go","/usr/local/go/src/runtime/internal/math/math.go","/usr/local/go/src/runtime/internal/sys/arch.go","/usr/local/go/src/runtime/internal/sys/arch_amd64.go","/usr/local/go/src/runtime/internal/sys/intrinsics.go","/usr/local/go/src/runtime/internal/sys/intrinsics_common.go","/usr/local/go/src/runtime/internal/sys/stubs.go","/usr/local/go/src/runtime/internal/sys/sys.go","/usr/local/go/src/runtime/internal/sys/zgoarch_amd64.go","/usr/local/go/src/runtime/internal/sys/zgoos_darwin.go","/usr/local/go/src/runtime/internal/sys/zversion.go","/usr/local/go/src/runtime/lfstack.go","/usr/local/go/src/runtime/lfstack_64bit.go","/usr/local/go/src/runtime/lock_sema.go","/usr/local/go/src/runtime/lockrank.go","/usr/local/go/src/runtime/lockrank_off.go","/usr/local/go/src/runtime/malloc.go","/usr/local/go/src/runtime/map.go","/usr/local/go/src/runtime/map_fast32.go","/usr/local/go/src/runtime/map_fast64.go","/usr/local/go/src/runtime/map_faststr.go","/usr/local/go/src/runtime/mbarrier.go","/usr/local/go/src/runtime/mbitmap.go","/usr/local/go/src/runtime/mcache.go","/usr/local/go/src/runtime/mcentral.go","/usr/local/go/src/runtime/mcheckmark.go","/usr/local/go/src/runtime/mem_darwin.go","/usr/local/go/src/runtime/memclr_amd64.s","/usr/local/go/src/runtime/memmove_amd64.s","/usr/local/go/src/runtime/metrics.go","/usr/local/go/src/runtime/mfinal.go","/usr/local/go/src/runtime/mfixalloc.go","/usr/local/go/src/runtime/mgc.go","/usr/local/go/src/runtime/mgcmark.go","/usr/local/go/src/runtime/mgcscavenge.go","/usr/local/go/src/runtime/mgcstack.go","/usr/local/go/src/runtime/mgcsweep.go","/usr/local/go/src/runtime/mgcwork.go","/usr/local/go/src/runtime/mheap.go","/usr/local/go/src/runtime/mpagealloc.go","/usr/local/go/src/runtime/mpagealloc_64bit.go","/usr/local/go/src/runtime/mpagecache.go","/usr/local/go/src/runtime/mpallocbits.go","/usr/local/go/src/runtime/mprof.go","/usr/local/go/src/runtime/mranges.go","/usr/local/go/src/runtime/msan0.go","/usr/local/go/src/runtime/msize.go","/usr/local/go/src/runtime/mspanset.go","/usr/local/go/src/runtime/mstats.go","/usr/local/go/src/runtime/mwbbuf.go","/usr/local/go/src/runtime/nbpipe_pipe.go","/usr/local/go/src/runtime/netpoll.go","/usr/local/go/src/runtime/netpoll_kqueue.go","/usr/local/go/src/runtime/os_darwin.go","/usr/local/go/src/runtime/os_nonopenbsd.go","/usr/local/go/src/runtime/panic.go","/usr/local/go/src/runtime/plugin.go","/usr/local/go/src/runtime/preempt.go","/usr/local/go/src/runtime/preempt_amd64.s","/usr/local/go/src/runtime/preempt_nonwindows.go","/usr/local/go/src/runtime/print.go","/usr/local/go/src/runtime/proc.go","/usr/local/go/src/runtime/profbuf.go","/usr/local/go/src/runtime/proflabel.go","/usr/local/go/src/runtime/race0.go","/usr/local/go/src/runtime/rdebug.go","/usr/local/go/src/runtime/relax_stub.go","/usr/local/go/src/runtime/rt0_darwin_amd64.s","/usr/local/go/src/runtime/runtime.go","/usr/local/go/src/runtime/runtime1.go","/usr/local/go/src/runtime/runtime2.go","/usr/local/go/src/runtime/rwmutex.go","/usr/local/go/src/runtime/select.go","/usr/local/go/src/runtime/sema.go","/usr/local/go/src/runtime/signal_amd64.go","/usr/local/go/src/runtime/signal_darwin.go","/usr/local/go/src/runtime/signal_darwin_amd64.go","/usr/local/go/src/runtime/signal_unix.go","/usr/local/go/src/runtime/sigqueue.go","/usr/local/go/src/runtime/sizeclasses.go","/usr/local/go/src/runtime/slice.go","/usr/local/go/src/runtime/softfloat64.go","/usr/local/go/src/runtime/stack.go","/usr/local/go/src/runtime/string.go","/usr/local/go/src/runtime/stubs.go","/usr/local/go/src/runtime/stubs_amd64.go","/usr/local/go/src/runtime/stubs_nonlinux.go","/usr/local/go/src/runtime/symtab.go","/usr/local/go/src/runtime/sys_darwin.go","/usr/local/go/src/runtime/sys_darwin_amd64.s","/usr/local/go/src/runtime/sys_libc.go","/usr/local/go/src/runtime/sys_nonppc64x.go","/usr/local/go/src/runtime/sys_x86.go","/usr/local/go/src/runtime/time.go","/usr/local/go/src/runtime/time_nofake.go","/usr/local/go/src/runtime/timestub.go","/usr/local/go/src/runtime/trace.go","/usr/local/go/src/runtime/traceback.go","/usr/local/go/src/runtime/type.go","/usr/local/go/src/runtime/typekind.go","/usr/local/go/src/runtime/utf8.go","/usr/local/go/src/runtime/vdso_in_none.go","/usr/local/go/src/runtime/write_err.go","/usr/local/go/src/sort/search.go","/usr/local/go/src/sort/slice.go","/usr/local/go/src/sort/slice_go113.go","/usr/local/go/src/sort/sort.go","/usr/local/go/src/sort/zfuncversion.go","/usr/local/go/src/strconv/atob.go","/usr/local/go/src/strconv/atoc.go","/usr/local/go/src/strconv/atof.go","/usr/local/go/src/strconv/atoi.go","/usr/local/go/src/strconv/ctoa.go","/usr/local/go/src/strconv/decimal.go","/usr/local/go/src/strconv/doc.go","/usr/local/go/src/strconv/eisel_lemire.go","/usr/local/go/src/strconv/extfloat.go","/usr/local/go/src/strconv/ftoa.go","/usr/local/go/src/strconv/isprint.go","/usr/local/go/src/strconv/itoa.go","/usr/local/go/src/strconv/quote.go","/usr/local/go/src/sync/atomic/asm.s","/usr/local/go/src/sync/atomic/doc.go","/usr/local/go/src/sync/atomic/value.go","/usr/local/go/src/sync/cond.go","/usr/local/go/src/sync/map.go","/usr/local/go/src/sync/mutex.go","/usr/local/go/src/sync/once.go","/usr/local/go/src/sync/pool.go","/usr/local/go/src/sync/poolqueue.go","/usr/local/go/src/sync/runtime.go","/usr/local/go/src/sync/runtime2.go","/usr/local/go/src/sync/rwmutex.go","/usr/local/go/src/sync/waitgroup.go","/usr/local/go/src/syscall/bpf_darwin.go","/usr/local/go/src/syscall/dirent.go","/usr/local/go/src/syscall/endian_little.go","/usr/local/go/src/syscall/env_unix.go","/usr/local/go/src/syscall/exec_libc2.go","/usr/local/go/src/syscall/exec_unix.go","/usr/local/go/src/syscall/flock_darwin.go","/usr/local/go/src/syscall/forkpipe.go","/usr/local/go/src/syscall/msan0.go","/usr/local/go/src/syscall/net.go","/usr/local/go/src/syscall/ptrace_darwin.go","/usr/local/go/src/syscall/route_bsd.go","/usr/local/go/src/syscall/route_darwin.go","/usr/local/go/src/syscall/sockcmsg_unix.go","/usr/local/go/src/syscall/sockcmsg_unix_other.go","/usr/local/go/src/syscall/str.go","/usr/local/go/src/syscall/syscall.go","/usr/local/go/src/syscall/syscall_bsd.go","/usr/local/go/src/syscall/syscall_darwin.go","/usr/local/go/src/syscall/syscall_darwin_amd64.go","/usr/local/go/src/syscall/syscall_unix.go","/usr/local/go/src/syscall/time_nofake.go","/usr/local/go/src/syscall/timestruct.go","/usr/local/go/src/syscall/zerrors_darwin_amd64.go","/usr/local/go/src/syscall/zsyscall_darwin_amd64.go","/usr/local/go/src/syscall/zsyscall_darwin_amd64.s","/usr/local/go/src/syscall/zsysnum_darwin_amd64.go","/usr/local/go/src/syscall/ztypes_darwin_amd64.go","/usr/local/go/src/time/format.go","/usr/local/go/src/time/sleep.go","/usr/local/go/src/time/sys_unix.go","/usr/local/go/src/time/tick.go","/usr/local/go/src/time/time.go","/usr/local/go/src/time/zoneinfo.go","/usr/local/go/src/time/zoneinfo_read.go","/usr/local/go/src/time/zoneinfo_unix.go","/usr/local/go/src/unicode/casetables.go","/usr/local/go/src/unicode/digit.go","/usr/local/go/src/unicode/graphic.go","/usr/local/go/src/unicode/letter.go","/usr/local/go/src/unicode/tables.go","/usr/local/go/src/unicode/utf8/utf8.go","\u003cautogenerated\u003e","\u003cmissing\u003e_15","\u003cmissing\u003e_20","\u003cmissing\u003e_33","\u003cmissing\u003e_37","\u003cmissing\u003e_39","\u003cmissing\u003e_47","\u003cmissing\u003e_5","\u003cmissing\u003e_7","\u003cmissing\u003e_79","_gomod_.go"]} error: ""
2021-09-09T13:19:34-07:00 debug layer=rpc <- RPCServer.CreateBreakpoint(rpc2.CreateBreakpointIn{"Breakpoint":{"id":0,"name":"","addr":0,"addrs":null,"file":"/Users/polina/go/src/issue1762/hello.go","line":6,"Cond":"","HitCond":"","continue":false,"traceReturn":false,"goroutine":false,"stacktrace":0,"LoadArgs":{"FollowPointers":true,"MaxVariableRecurse":1,"MaxStringLen":64,"MaxArrayValues":64,"MaxStructFields":-1},"LoadLocals":{"FollowPointers":true,"MaxVariableRecurse":1,"MaxStringLen":64,"MaxArrayValues":64,"MaxStructFields":-1},"WatchExpr":"","WatchType":0,"hitCount":null,"totalHitCount":0,"disabled":false}})
2021-09-09T13:19:34-07:00 info layer=debugger created breakpoint: &api.Breakpoint{ID:1, Name:"", Addr:0x10a2fdd, Addrs:[]uint64{0x10a2fdd}, File:"/Users/polina/go/src/issue1762/hello.go", Line:6, FunctionName:"main.main", Cond:"", HitCond:"", Tracepoint:false, TraceReturn:false, Goroutine:false, Stacktrace:0, Variables:[]string(nil), LoadArgs:(*api.LoadConfig)(0xc00074bce0), LoadLocals:(*api.LoadConfig)(0xc00074bd10), WatchExpr:"", WatchType:0x0, VerboseDescr:[]string(nil), HitCount:map[string]uint64{}, TotalHitCount:0x0, Disabled:false}
2021-09-09T13:19:34-07:00 debug layer=rpc -> *rpc2.CreateBreakpointOut{"Breakpoint":{"id":1,"name":"","addr":17444829,"addrs":[17444829],"file":"/Users/polina/go/src/issue1762/hello.go","line":6,"functionName":"main.main","Cond":"","HitCond":"","continue":false,"traceReturn":false,"goroutine":false,"stacktrace":0,"LoadArgs":{"FollowPointers":true,"MaxVariableRecurse":1,"MaxStringLen":64,"MaxArrayValues":64,"MaxStructFields":-1},"LoadLocals":{"FollowPointers":true,"MaxVariableRecurse":1,"MaxStringLen":64,"MaxArrayValues":64,"MaxStructFields":-1},"WatchExpr":"","WatchType":0,"hitCount":{},"totalHitCount":0,"disabled":false}} error: ""

And the adapter itself doesn't respond to the client either. For the two breakpoint requests it receives, only one response is sent back.

[20:19:33.496 UTC] From client: initialize({"clientID":"vscode","clientName":"Visual Studio Code","adapterID":"go","pathFormat":"path","linesStartAt1":true,"columnsStartAt1":true,"supportsVariableType":true,"supportsVariablePaging":true,"supportsRunInTerminalRequest":true,"locale":"en-us","supportsProgressReporting":true,"supportsInvalidatedEvent":true,"supportsMemoryReferences":true})
[20:19:33.496 UTC] InitializeRequest
[20:19:33.496 UTC] To client: {"seq":0,"type":"response","request_seq":1,"command":"initialize","success":true,"body":{"supportsConditionalBreakpoints":true,"supportsConfigurationDoneRequest":true,"supportsSetVariable":true}}
[20:19:33.496 UTC] InitializeResponse
[20:19:33.496 UTC] From client: attach({"name":"Remote Attach","type":"go","request":"attach","mode":"remote","remotePath":"","port":2345,"host":"127.0.0.1","showlog":true,"trace":"verbose","logOutput":"rpc","apiVersion":2,"__configurationTarget":5,"packagePathToGoModPathMap":{"/Users/polina/go/src/issue1762":""},"debugAdapter":"legacy","dlvLoadConfig":{"followPointers":true,"maxVariableRecurse":1,"maxStringLen":64,"maxArrayValues":64,"maxStructFields":-1},"showGlobalVariables":true,"substitutePath":[],"cwd":"/Users/polina/go/src/issue1762","dlvToolPath":"/Users/polina/go/bin/dlv","env":{"ELECTRON_RUN_AS_NODE":"1","USER":"polina","__CFBundleIdentifier":"com.microsoft.VSCode","COMMAND_MODE":"unix2003","LOGNAME":"polina","PATH":"/usr/local/git/current/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/go/bin:/Library/Apple/usr/bin","SSH_AUTH_SOCK":"/private/tmp/com.apple.launchd.6kxUoFIeTM/Listeners","SHELL":"/bin/bash","HOME":"/Users/polina","__CF_USER_TEXT_ENCODING":"0x1E3F:0x0:0x0","TMPDIR":"/var/folders/dn/8hszkj9x21n__1gr_p8qgjgr0007jz/T/","XPC_SERVICE_NAME":"application.com.microsoft.VSCode.54729362.54729368","XPC_FLAGS":"0x0","ORIGINAL_XDG_CURRENT_DESKTOP":"undefined","VSCODE_CWD":"/","VSCODE_NLS_CONFIG":"{\"locale\":\"en-us\",\"availableLanguages\":{},\"_languagePackSupport\":true}","VSCODE_CODE_CACHE_PATH":"/Users/polina/Library/Application Support/Code/CachedData/e7d7e9a9348e6a8cc8c03f877d39cb72e5dfb1ff","VSCODE_IPC_HOOK":"/Users/polina/Library/Application Support/Code/1.60.0-main.sock","VSCODE_PID":"82614","SK_SIGNING_PLUGIN":"gnubbyagent","PWD":"/","SHLVL":"1","_":"/Applications/Visual Studio Code.app/Contents/MacOS/Electron","VSCODE_AMD_ENTRYPOINT":"vs/workbench/services/extensions/node/extensionHostProcess","VSCODE_PIPE_LOGGING":"true","VSCODE_VERBOSE_LOGGING":"true","VSCODE_LOG_NATIVE":"false","VSCODE_IPC_HOOK_EXTHOST":"/var/folders/dn/8hszkj9x21n__1gr_p8qgjgr0007jz/T/vscode-ipc-2823cc74-ad6e-48dc-b7a8-1bc40cf1dd7d.sock","VSCODE_HANDLES_UNCAUGHT_ERRORS":"true","VSCODE_LOG_STACK":"false","GOMODCACHE":"/Users/polina/go/pkg/mod","GOPATH":"/Users/polina/go","GOPROXY":"https://proxy.golang.org,direct","APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL":"true"},"__sessionId":"38d2d5ec-f51b-4ebc-9af1-5f2b22b7250b"})
[20:19:33.496 UTC] AttachRequest
[20:19:33.496 UTC] Start remote debugging: connecting 127.0.0.1:2345
[20:19:33.823 UTC] To client: {"seq":0,"type":"event","event":"initialized"}
[20:19:33.824 UTC] InitializeEvent
[20:19:33.824 UTC] To client: {"seq":0,"type":"response","request_seq":2,"command":"attach","success":true}
[20:19:33.834 UTC] From client: setBreakpoints({"source":{"name":"hello-copy.go","path":"/Users/polina/go/src/issue1762/hello-copy.go"},"lines":[6],"breakpoints":[{"line":6}],"sourceModified":false})
[20:19:33.835 UTC] SetBreakPointsRequest
[20:19:33.835 UTC] From client: setBreakpoints({"source":{"name":"hello.go","path":"/Users/polina/go/src/issue1762/hello.go"},"lines":[6],"breakpoints":[{"line":6}],"sourceModified":false})
[20:19:33.835 UTC] SetBreakPointsRequest
[20:19:33.842 UTC] Debuggee is not running. Setting breakpoints without halting.
[20:19:33.862 UTC] Debuggee is not running. Setting breakpoints without halting.
[20:19:34.091 UTC] All cleared
[20:19:34.092 UTC] Creating on: /Users/polina/go/src/issue1762/hello.go:6
[20:19:34.104 UTC] All set:[{"Breakpoint":{"id":1,"name":"","addr":17444829,"addrs":[17444829],"file":"/Users/polina/go/src/issue1762/hello.go","line":6,"functionName":"main.main","Cond":"","HitCond":"","continue":false,"traceReturn":false,"goroutine":false,"stacktrace":0,"LoadArgs":{"FollowPointers":true,"MaxVariableRecurse":1,"MaxStringLen":64,"MaxArrayValues":64,"MaxStructFields":-1},"LoadLocals":{"FollowPointers":true,"MaxVariableRecurse":1,"MaxStringLen":64,"MaxArrayValues":64,"MaxStructFields":-1},"WatchExpr":"","WatchType":0,"hitCount":{},"totalHitCount":0,"disabled":false}}]
[20:19:34.104 UTC] To client: {"seq":0,"type":"response","request_seq":4,"command":"setBreakpoints","success":true,"body":{"breakpoints":[{"verified":true,"line":6}]}}
[20:19:34.106 UTC] SetBreakPointsResponse

This looks like a bug in the path mapping inference code. I haven't dug deep to fully understand where it gets stuck though. As we are working towards supporting remote mode with the new dlv-dap adapter, we are planning to deprecate this automated inference logic in favor of substitutePath anyway.
@quoctruong

@polinasok
Copy link
Contributor

Unrelated to the issue, you should build the binary with go build -gcflags=all='-N -l' to turn off optimizations.

@gopherbot
Copy link
Collaborator

Change https://golang.org/cl/348972 mentions this issue: src/debugAdapter: let infer path logic handle non-existing files

gopherbot pushed a commit that referenced this issue Sep 10, 2021
When there is no matching candidate inside the target binary,
remoteSourcesAndPackages.remoteSourceFilesNameGrouping won't have
corresponding files and potentialPaths can be undefined.

At least, made me continue debugging the example described in
issue #1762. Not sure if that's the end of the bugs
yet.

Updates #1762

Change-Id: I2b69beb45397b0ea102a343ad6aad884c304f6b4
Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/348972
Trust: Hyang-Ah Hana Kim <hyangah@gmail.com>
Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com>
TryBot-Result: kokoro <noreply+kokoro@google.com>
Reviewed-by: Polina Sokolova <polina@google.com>
@hyangah hyangah modified the milestones: Untriaged, v0.28.0 Sep 16, 2021
@hyangah
Copy link
Contributor

hyangah commented Sep 16, 2021

I verified v0.28.0-rc.2 fixed the repro example included in the original report. Closing.

@hyangah hyangah closed this as completed Sep 16, 2021
@golang golang locked and limited conversation to collaborators Sep 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
debug/legacy legacy debug adapter related issues - new issues won't be fixed Debug Issues related to the debugging functionality of the extension. FrozenDueToAge
Projects
None yet
Development

No branches or pull requests

4 participants