Version of Delve is too old for this version of Go【Goland Debug】報錯

最近升級了 Go 到 1.14,發現使用 Goland debug 程序的時候報錯了。完整的報錯信息如下。

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

Debugger finished with exit code 1

在這裏插入圖片描述
錯誤信息提示的很明顯,也就是現在 Goland 使用的 dlv,不支持 Go > 1.13 的版本,所以實際上,升級一下 dlv,然後將 Goland 使用的 dlv 路徑重新指定一下就好了。
在這裏插入圖片描述
重新指定。
在這裏插入圖片描述

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章