win10 vscode调试go代码,安装dlv插件报错:
1. 运行环境
go版本:1.18.4
vscode版本:1.69.2
OS: Windows_NT x64 10.0.17134(win10)
2. 问题描述?
vscode中安装dlv插件时报错,报错信息如下:
Installing github.com/go-delve/delve/cmd/dlv@latest FAILED
{
“killed”: false,
“code”: 1,
“signal”: null,
“cmd”: “E:\go\bin\go.exe install -v github.com/go-delve/delve/cmd/dlv@latest”,
“stdout”: “”,
“stderr”: “pkg\mod\github.com\go-delve\delve@v1.9.0\service\debugger\debugger.go2: found packages native (proc.go) and your_operating_system_and_architecture_combination_is_not_supported_by_delve (support_sentinel.go) in E:\workspace\go\pkg\mod\github.com\go-delve\delve@v1.9.0\pkg\proc\native\n”
}
1 tools failed to install.
dlv: failed to install dlv(github.com/go-delve/delve/cmd/dlv@latest): Error: Command failed: E:\go\bin\go.exe install -v github.com/go-delve/delve/cmd/dlv@latest
pkg\mod\github.com\go-delve\delve@v1.9.0\service\debugger\debugger.go2: found packages native (proc.go) and your_operating_system_and_architecture_combination_is_not_supported_by_delve (support_sentinel.go) in E:\workspace\go\pkg\mod\github.com\go-delve\delve@v1.9.0\pkg\proc\native
推荐文章: