mac Goland DEBUG报错(could not launch process: decoding dwarf section info at offset 0x0: too short)

解决:

1、更新dlv,go get -u github.com/derekparker/delve/cmd/dlv

2、修改Goland的配置,Help->Edit Custom Properties中增加新版dlv的路径配置:dlv.path=/Users/zhuzb/go/bin/dlv 

注意:dlv.path用go env查看你的GOBIN路径复制过来/Users/zhuzb/go/bin

3、重启goland

原文:https://blog.csdn.net/woodcutter_man/article/details/83154788

你可能感兴趣的:(mac Goland DEBUG报错(could not launch process: decoding dwarf section info at offset 0x0: too short))