This commit is contained in:
oneao committed 2025-10-31 17:28:45 +08:00
1 parent 200f72eb86
commit 91ae4cb474
19 files changed
+650 -148

No files matched your search

@@ -105,3 +105,23 @@ go env -w GOPATH="D:\devtool\golang\gopath"
# 错误
## GoLand运行报错:WARNING: undefined behavior - version of Delve is too old for Go version go1.25.0 (maximum supported version 1.24)
安装:
```bash
go install github.com/go-delve/delve/cmd/dlv@master
```
修改 goland 配置:`Help\Edit Custom Properties`,新增配置:
```
dlv.path=D:\\devtool\\golang\\gopath\\bin\\dlv.exe
```
这个路径是 `gopath` 配置后的路径,默认在c盘 `dlv.path=C:\\Users\\_user_\\go\\bin\\dlv.exe`