如何解决Geany 调试器
我正在尝试为 Geany 使用调试器。 Mac 上不再安装 GDB,但 Geany 继续使用它,所以我收到一条错误消息,说“无法生成 gdb 进程”。有人告诉我使用自制软件安装 gdb。我已经安装了 Homebrew,在运行该版本时,我得到以下信息:
~ % brew --version
Homebrew 3.0.2-106-ga466e61
Homebrew/homebrew-core (no Git repository)
Homebrew/homebrew-cask (git revision e8a67; last commit 2021-02-27)
当我运行 brew install gdb
我得到以下信息:
~ % brew install gdb
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
Error: No available formula or cask with the name "gdb".
==> Searching for a prevIoUsly deleted formula (in the last month)...
Error: No prevIoUsly deleted formula found.
==> Searching taps on GitHub...
Error: No formulae found in taps.
我做错了什么?这是第一次在 home-brew 中工作。
此外,在运行 brew install --verbose gdb
时,我收到以下警告:
~ % brew install --verbose gdb
fatal: Could not resolve HEAD to a revision
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
Error: No available formula or cask with the name "gdb".
==> Searching for a prevIoUsly deleted formula (in the last month)...
Error: No prevIoUsly deleted formula found.
==> Searching taps on GitHub...
/usr/bin/curl --disable --globoff --show-error --user-agent Homebrew/3.0.2-106-ga466e61\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 10.15.6\)\ curl/7.64.1 --header Accept-Language:\ en --retry 3 --location https://api.github.com/search/code\?q=user\%3AHomebrew\+path\%3AFormula\+path\%3ACasks\+path\%3A.\+filename\%3Agdb\+extension\%3Arb\&per_page=100 --header Accept:\ application/vnd.github.v3\+json --write-out '
'\%\{http_code\} --header Accept:\ application/vnd.github.antiope-preview\+json --dump-header /private/tmp/github_api_headers20210227-82409-1hkn62n
Error: No formulae found in taps.
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。