电脑教程
位置:首页>> 电脑教程>> 苹果Mac教程>> 关于MacOS系统使用Goland等ide debug失败的问题

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

  发布时间:2023-07-22 08:57:47 

标签:Goland,ide,debug失败,MacOS系统,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版本的。

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

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

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

0
投稿

猜你喜欢

手机版 电脑教程 asp之家 www.aspxhome.com