首页IT科技goland import(关于MacOS系统使用Goland等ide debug失败的问题)

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

时间2025-06-20 17:29:12分类IT科技浏览6687
导读:MacOS系统使用Goland等ide debug出现debugserver or lldb-server not found: install XCode’s command line tools or lldb-server...

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 XCodes 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失败内容请搜索电脑学习网以前的文章或继续浏览下面的相关文章                    ,希望大家以后多多支持电脑学习网!

声明:本站所有文章,如无特殊说明或标注                    ,均为本站原创发布            。任何个人或组织                        ,在未征得本站同意时    ,禁止复制                、盗用                        、采集        、发布本站内容到任何网站            、书籍等各类媒体平台                        。如若本站内容侵犯了原著者的合法权益                ,可联系我们进行处理            。

创心域SEO版权声明:以上内容作者已申请原创保护,未经允许不得转载,侵权必究!授权事宜、对本内容有异议或投诉,敬请联系网站管理员,我们将尽快回复您,谢谢合作!

展开全文READ MORE
长丰(集团)有限责任公司(长丰论坛)