-
Notifications
You must be signed in to change notification settings - Fork 767
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
The "dlv-dap" command is not available. Please select "Install", or follow the installation instructions here. #1682
Comments
@Liu-Chunhui Can you please run the following command from the integrated terminal and share the output? I am suspecting proxy or git issues.
ps. if the above command succeeds, copy the built output ( |
@hyangah I'm having the same issue. Running the command you suggested failed with similar output to the original mkdir -p /home/[USERNAME]/go/pkg/mod/cache/vcs # git3 https://github.com/go-delve/delve
# lock /home/[USERNAME]/go/pkg/mod/cache/vcs/09e416c991289a13aad7de4337bb96bc98ab89763cc18ac2f790771787c60ed5.lock# /home/[USERNAME]/go/pkg/mod/cache/vcs/09e416c991289a13aad7de4337bb96bc98ab89763cc18ac2f790771787c60ed5 for git3 https://github.com/go-delve/delve
cd /home/[USERNAME]/go/pkg/mod/cache/vcs/09e416c991289a13aad7de4337bb96bc98ab89763cc18ac2f790771787c60ed5; git -c log.showsignature=false log -n1 '--format=format:%H %ct %D' f95340ae1bf9 --
0.007s # cd /home/[USERNAME]/go/pkg/mod/cache/vcs/09e416c991289a13aad7de4337bb96bc98ab89763cc18ac2f790771787c60ed5; git -c log.showsignature=false log -n1 '--format=format:%H %ct %D' f95340ae1bf9 --
cd /home/[USERNAME]/go/pkg/mod/cache/vcs/09e416c991289a13aad7de4337bb96bc98ab89763cc18ac2f790771787c60ed5; git ls-remote -q origin
1.199s # cd /home/[USERNAME]/go/pkg/mod/cache/vcs/09e416c991289a13aad7de4337bb96bc98ab89763cc18ac2f790771787c60ed5; git ls-remote -q origin
go install github.com/go-delve/delve/cmd/dlv@v1.7.1-0.20210804080032-f95340ae1bf9: github.com/go-delve/delve/cmd/dlv@v1.7.1-0.20210804080032-f95340ae1bf9: invalid pseudo-version: preceding tag (v1.7.0) not found This is with go version go1.16.6 linux/amd64, git version 2.31.1, and code 1.59.0 |
Thanks @jpweiser Can you please try |
That appears to have worked. Per your suggestion earlier, I copied the produced |
The root cause is golang/go#47650 |
Change https://golang.org/cl/341529 mentions this issue: |
Change https://golang.org/cl/341609 mentions this issue: |
…version We cannot rely on pseudo-version reliably yet. Fixes #1682 Change-Id: Ibf36627d9f5755f513876751bbab6ce62d135e56 Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/341529 Trust: Hyang-Ah Hana Kim <hyangah@gmail.com> Trust: Suzy Mueller <suzmue@golang.org> Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com> TryBot-Result: kokoro <noreply+kokoro@google.com> Reviewed-by: Suzy Mueller <suzmue@golang.org> (cherry picked from commit 46b3efe) Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/341609
For asking questions, see:
#vscode
channel in Gophers SlackBefore filing an issue, please review our troubleshooting guides
Please answer these questions before submitting your issue. Thanks!
What version of Go, VS Code & VS Code Go extension are you using?
go version
to get version of Go from the VS Code integrated terminal.gopls -v version
to get version of Gopls from the VS Code integrated terminal.code -v
orcode-insiders -v
to get version of VS Code or VS Code Insiders.Go: Locate Configured Go Tools
command.Share the Go related settings you have added/edited
Run
Preferences: Open Settings (JSON)
command to open your settings.json file.Share all the settings with the
go.
or["go"]
orgopls
prefixes.Describe the bug
Not able to debug test. when
debug test
, an errors pops upAfter clicking
Install
, outputSteps to reproduce the behavior:
Screenshots or recordings
If applicable, add screenshots or recordings to help explain your problem.
The text was updated successfully, but these errors were encountered: