Windows下Goland的Debug显示“frames are not available“
Windows下Goland的Debug显示"frames are not available"问题解决
·
goland在添加短点debug时候,显示"frames are not available",解决方法:
1、下载go-delve/delve
git clone https://github.com/go-delve/delve.git
2、进入clone下来的delve中
cd delve
切换分支:
git checkout -b darwin-amd64-lldb
3、然后进入工程目录,
cd ./cmd/dlv/
重新编译:
go build
go install
4、设置goland 的 Help>Edit custom properties
dlv.path=D:\\code\\go\\bin\\dlv.exe
指向的是你的gopath的bin包下的dlv文件,重启goland,就好了
如果这样还不行的话,可能是JDK版本的问题,可以重新安装其他版本的Go环境
更多推荐
所有评论(0)