MacOS系统使用Goland等ide debug出现debugserver or lldb-server not found: install XCode’s command line tools or lldb-server

前言

笔者笔记本环境为MacOS,使用「Goland」IDE,无法对代码进行debug调试,报出错误:could not launch process: debugserver or lldb-server not found: install XCode's command line tools or lldb-server

方法

1.可以先打开「终端」输入:xcode-select --install,等待安装完成,就可以解决问题啦
2.如果上述方法不能自动下载且报错(笔者就是安装失败,提示已经存在或者其他什么原因,可是我明明没有安装啊!!!),可以自行去 https://developer.apple.com/download/more/ 手动下载安装。
左边输入command line tools,选择对应你Xcode版本的。

关于MacOS系统使用Goland等ide debug失败的问题
 

我的Xcode是12.0.1,所以我选择command line tools for Xcode12。下载后安装,之后就可以正常debug啦!

标签:
Goland,ide,debug失败,MacOS系统,ide,debug失败

免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件! 如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
桃源资源网 Design By www.nqtax.com