它建议遵循官方Delve github存储库上的Delve安装说明。对于Mac用户来说,他们是。error: command line tools are already installed, use "Software Update" to install updates确保在Xcode中启用了开发人员模式
sudo
我正在从dlv中得到这个错误 could not attach to pid 20727: decoding dwarf section info at offset 0x0: too short 二进制文件是这样构建的: go build -a -v -ldflags "-w -X main.gitCommit=<sha> -linkmode 'auto' -extldflags '-static'" 您能确认是-w标志导致了以下问题吗?它会剥离调试符号吗?
当我在visual studio代码中调试Go Lang代码时,出现了以下错误消息:2018/04/03 18:19:32 debugger.go:98: launching process with args: [$GOPATH/src/about/debug]Process exiting with code: 1