WARNING: undefined behavior - version of Delve is too old for Go version 1.20.5 (maximum supported v

执行

go install github.com/go-delve/delve/cmd/dlv@latest

替换旧的dlv
install后,在

$GOPATH\bin
目录下找到dlv.exe并复制到

GoLand安装目录\plugins\go\lib\dlv\windows
目录下。

参考
https://blog.csdn.net/HYZX_9987/article/details/130964725

你可能感兴趣的:(go,golang,开发语言,后端)