Goland 调试器无法在 Mac 上使用 go 版本升级(v1.11 -> v1.13)

标签 go goland

我在 mac(mojave 操作系统)中将 golang 从 v1.11 升级到 v1.13。调试器开始抛出错误 测试框架意外退出。控制台输出是

API server listening at: 127.0.0.1:xxxxx
Version of Delve is too old for this version of Go (maximum supported version 1.12, suppress this error with --check-go-version=false)

Debugger finished with exit code 1

从那时起我就无法在 goland 上使用调试器,但是 delve as cli 命令正在运行。不知道如何进行?另外,我在 goland 中找不到任何禁用 --check-go-version 的选项?

最佳答案

将您的 IDE 更新到 GoLand 2019.2.2 或更新版本,问题将得到解决。

关于Goland 调试器无法在 Mac 上使用 go 版本升级(v1.11 -> v1.13),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58068489/

相关文章:

go - 在 goroutines 中启动 goroutines 是否可以接受?

go - 如何停止所有等待 sync.Cond 的 goroutines?

linux - bash 终端和 Goland IDE 中的不同 GOPATH

Golang 从根目录导入包

vue.js - 如何比通过 const 更明确地声明变量?

go - Go语言错误处理问题/误解?

go - 接口(interface)内反射阵列

go - 实例化结构和数组不会创建新的引用

go - ide在$ GOPATH中找不到软件包shim和proto软件包

python - 使用自定义 GOPATH 和 govendor 在 Goland IDE 中没有 stdlib 提示