You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Although these tests do work right now, they depend on the implementation
of the go command in a way I do not fully understand. The rest of the tests
are sufficient to test the substitutePath implementation as opposed to
how symlinks are interpreted by go or dlv. substitutePath may not be necessary
for all symlinked projects.
For example, when running on darwin:
$ ls ~/go/src/github.com/user/package
main.go
$ ln -s ~/go/src/github.com/user ~/githubuser/
$ cd ~/githubuser/package; dlv debug
(dlv) sources
~/go/src/github.com/user/package/main.go
If a go.mod file is added into the package in the GOPATH:
$ ls ~/go/src/github.com/user/package
main.go
go.mod
$ ln -s ~/go/src/github.com/user ~/githubuser/
$ cd ~/githubuser/package; dlv debug
(dlv) sources
~/githubuser/package/main.go
Updates #622
Change-Id: Ie9893ac3cdcac3a8efcda95056dca6df271a85bd
Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/277961
Trust: Suzy Mueller <[email protected]>
Trust: Hyang-Ah Hana Kim <[email protected]>
Run-TryBot: Suzy Mueller <[email protected]>
TryBot-Result: kokoro <[email protected]>
Reviewed-by: Hyang-Ah Hana Kim <[email protected]>
0 commit comments