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

这篇文章主要介绍了关于MacOS系统使用Goland等ide debug失败的问题,本文给大家介绍的非常详细,对大家的学习或工作具有一定的参考借鉴价值,需要的朋友可以参考下

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版本的。

在这里插入图片描述
 

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

到此这篇关于MacOS系统使用Goland等ide debug失败的文章就介绍到这了,更多相关Goland ide debug失败内容请搜索0133技术站以前的文章或继续浏览下面的相关文章,希望大家以后多多支持0133技术站!

以上就是关于MacOS系统使用Goland等ide debug失败的问题的详细内容,更多请关注0133技术站其它相关文章!

赞(0) 打赏
未经允许不得转载:0133技术站首页 » MAC系统