Anu*_*ani 6 visual-studio-code delve
当我在visual studio代码中调试Go Lang代码时出现以下错误消息:
2018/04/03 18:19:32 server.go:73: Using API v1
2018/04/03 18:19:32 debugger.go:98: launching process with args: [$GOPATH/src/about/debug]
could not launch process: EOF
Process exiting with code: 1
Run Code Online (Sandbox Code Playgroud)
我也有同样的事情。最新的 XCode 更新破坏了调试器 API 中的某些内容。debugserver(我怀疑这只是命令行标志的变化。)
目前,我所知道的最佳解决方案是卸载 XCode 或 XCode Command Line 工具并安装 Command Line Tools 9.2 for MacOS High Sierra或MacOs Sierra。
安装 XCode,并且在 XCode 或 Delve 中出现修复之前不要升级 XCode。
| 归档时间: |
|
| 查看次数: |
1377 次 |
| 最近记录: |