英文:
Version of Delve is too old for Go version 1.20.0 (maximum supported version 1.19)
问题
当在GoLand中开始调试会话时,我遇到了这个错误:
> 警告:未定义的行为 - Delve的版本对于Go版本1.20.0来说太旧了(最大支持版本为1.19)
我使用JetBrains Toolbox重新安装它,但没有起作用。
我卸载它并手动安装,但也没有起作用!
IDE的维护人员表示,在某些情况下,当更新IDE版本时,GoLand没有更新Delve!
英文:
When start debbugging session in GoLand I get this error:
> WARNING: undefined behavior - version of Delve is too old for Go version 1.20.0 (maximum supported version 1.19)
I reinstall it with JetBrains Toolbox and didn't work.
I uninstall it and install it manualy and didn't work!
The IDE maintainers say that GoLand didn't update delve when updating the IDE version in SOME CONDITIONS!
答案1
得分: 2
我之前使用的是 GoLand 2022.3.2,最近发布了 2022.3.3 版本,我将其更新到了最新版本,并且问题得到了解决。
我不认为这完全解决了问题,将来可能还会再次遇到。所以,我希望他们能够完全修复它。
英文:
I was using GoLand 2022.3.2, recently 2022.3.3 was released and I update it to the latest version, and the issue was resolved.
I don't think it solves the problem entirely and I may hit it again in the future. So, I hope they fix it in a complete manner.
答案2
得分: 0
你可以选择安装最新版本的Goland或仅升级dlv。对于后者,可以从这里下载源代码,然后运行go install pathToYourDownloadedPackage/cmd/dlv
。
英文:
You can either install the latest version of goland or upgrade only the dlv. For the latter, download source code from here and run go install pathToYourDownloadedPackage/cmd/dlv
答案3
得分: 0
我遇到了同样的问题。更新 Goland 版本解决了我的问题。
请确保按照以下命令完全更新您的 IDE:帮助 -> 检查更新
。
英文:
I was having the same problem. Updating the Goland version solved my problem.
Make sure you've fully updated your IDE by following these commands: Help -> Check for updates.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论