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

Delve not installing for Golang 1.11 #1323

Closed
pd93 opened this issue Aug 28, 2018 · 2 comments
Closed

Delve not installing for Golang 1.11 #1323

pd93 opened this issue Aug 28, 2018 · 2 comments

Comments

@pd93
Copy link

pd93 commented Aug 28, 2018

I updated to Golang v1.11 today and was prompted as usual to update my 'go tools' when opening a .go file in VSCode. All tools installed successfully with the exception of Delve.

  1. What version of Delve are you using (dlv version)?
Delve Debugger
Version: 1.0.0
Build: $Id: c98a142125d0b17bb11ec0513bde346229b5f533 $
  1. What version of Go are you using? (go version)?
go version go1.11 windows/386
  1. What operating system and processor architecture are you using?
    Windows x86_64
  2. What did you do?
    Updated to Golang 1.11 (from 1.10.3) and updated the 'go tools' in VSCode
    (Same result when running go.exe get -u -v github.com/derekparker/delve/cmd/dlv from a terminal
  3. What did you expect to see?
    SUCCESS
  4. What did you see instead?
C:\dev\go\bin\go.exe get -u -v github.com/derekparker/delve/cmd/dlv
github.com/derekparker/delve (download)
github.com/derekparker/delve/pkg/proc
# github.com/derekparker/delve/pkg/proc
C:\Users\pete\dev\src\github.com\derekparker\delve\pkg\proc\disasm.go:11:14: undefined: ArchInst
@dlsniper
Copy link
Contributor

Delve doesn't work on 386 platforms, see https://github.com/derekparker/delve/issues/656

You should install the 64bit version of Go (amd64) if your CPU supports it and it will likely work as expected.

@pd93
Copy link
Author

pd93 commented Aug 28, 2018

Somehow managed to install the 32bit version by accident 🙃
All working now!

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants