This repository has been archived by the owner on Jul 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 645
delve is not looked for in go.toolsGopath #2099
Labels
Comments
This is because the debug adapter runs in a separate process and doesnt have access to VS Code settings. This can be fixed by sending the path to the delve tool as part of the debug configuration in the PRs are most welcome to fix this.
|
segevfiner
added a commit
to segevfiner/vscode-go
that referenced
this issue
Nov 8, 2018
ramya-rao-a
pushed a commit
that referenced
this issue
Nov 13, 2018
* Search for dlv in go.toolsGopath too Fixes #2099 * Fix review comments
Looking forward to a release with this fix! |
The fix for this is now available in the latest version of the Go extension (0.8.0) |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This code: src/debugAdapter/goDebug.ts:361 only looks in
GOPATH
. It will fail to finddlv
when it was installed ingo.toolsGopath
. (There is alsoGOBIN
, but I'm not sure we are looking for tools there anywhere in the extension anyhow).Steps to Reproduce:
go.toolsGopath
to a non-default value.The text was updated successfully, but these errors were encountered: