<bdo id='ml9SQ'></bdo><ul id='ml9SQ'></ul>

        <i id='ml9SQ'><tr id='ml9SQ'><dt id='ml9SQ'><q id='ml9SQ'><span id='ml9SQ'><b id='ml9SQ'><form id='ml9SQ'><ins id='ml9SQ'></ins><ul id='ml9SQ'></ul><sub id='ml9SQ'></sub></form><legend id='ml9SQ'></legend><bdo id='ml9SQ'><pre id='ml9SQ'><center id='ml9SQ'></center></pre></bdo></b><th id='ml9SQ'></th></span></q></dt></tr></i><div id='ml9SQ'><tfoot id='ml9SQ'></tfoot><dl id='ml9SQ'><fieldset id='ml9SQ'></fieldset></dl></div>
      1. <small id='ml9SQ'></small><noframes id='ml9SQ'>

        <tfoot id='ml9SQ'></tfoot>
        <legend id='ml9SQ'><style id='ml9SQ'><dir id='ml9SQ'><q id='ml9SQ'></q></dir></style></legend>

        Netbeans“解决缺少的调试器命令"C++

        Netbeans quot;Resolve missing debugger commandquot; C++(Netbeans“解决缺少的调试器命令C++)
          <tbody id='UepZk'></tbody>
        <legend id='UepZk'><style id='UepZk'><dir id='UepZk'><q id='UepZk'></q></dir></style></legend>

              1. <i id='UepZk'><tr id='UepZk'><dt id='UepZk'><q id='UepZk'><span id='UepZk'><b id='UepZk'><form id='UepZk'><ins id='UepZk'></ins><ul id='UepZk'></ul><sub id='UepZk'></sub></form><legend id='UepZk'></legend><bdo id='UepZk'><pre id='UepZk'><center id='UepZk'></center></pre></bdo></b><th id='UepZk'></th></span></q></dt></tr></i><div id='UepZk'><tfoot id='UepZk'></tfoot><dl id='UepZk'><fieldset id='UepZk'></fieldset></dl></div>
              2. <small id='UepZk'></small><noframes id='UepZk'>

                  <bdo id='UepZk'></bdo><ul id='UepZk'></ul>

                  <tfoot id='UepZk'></tfoot>
                • 本文介绍了Netbeans“解决缺少的调试器命令"C++的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  每当我尝试调试任何程序(即欢迎消息)时,我都会收到此提示.任何想法如何运行 C++ 程序的调试器?

                  Whenever I try to debug any program (i.e. a welcome message), I get this prompt. Any ideas how to run the debugger for C++ program?

                  我使用的是 Macbook Pro OS X El Capitan (10.11.3)

                  I am using Macbook Pro OS X El Capitan (10.11.3)

                  推荐答案

                  对于 Mac OSX 10.5 及更高版本,

                  For Mac OSX 10.5 and above,

                  1. 安装 Homebrew(如果您还没有安装)

                  1. Install Homebrew (if you don't have it already)

                  /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
                  

                • 安装 GDB

                • Install GDB

                  brew install gdb
                  

                • 转到 https://sourceware.org/gdb/wiki/BuildingOnDarwin并按照说明对 gdb 二进制文件进行代码签名.

                • Go to https://sourceware.org/gdb/wiki/BuildingOnDarwin and follow the instructions to code sign the gdb binary.

                  如果您使用 Sierra,请在终端中运行以下命令

                  If you're on Sierra, run the following command in your terminal

                  echo "set startup-with-shell off" >> ~/.gdbinit
                  

                • 最后,在终端中运行以下命令

                • Finally, run the following comamnd in your terminal

                  which gdb
                  

                • 将该命令的输出路径(我的是/usr/local/bin/gdb)复制到 Netbeans 的调试器命令框中并开始调试!
                • 这篇关于Netbeans“解决缺少的调试器命令"C++的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Unable to access non-const member functions of objects in C++ std::set(无法访问 C++ std::set 中对象的非常量成员函数)
                  Constructing std::function argument from lambda(从 lambda 构造 std::function 参数)
                  STL BigInt class implementation(STL BigInt 类实现)
                  Sync is unreliable using std::atomic and std::condition_variable(使用 std::atomic 和 std::condition_variable 同步不可靠)
                  Move list element to the end in STL(在 STL 中将列表元素移动到末尾)
                  Why is overloading operatoramp;() prohibited for classes stored in STL containers?(为什么禁止对存储在 STL 容器中的类重载 operatoramp;()?)
                  <i id='8U1Jf'><tr id='8U1Jf'><dt id='8U1Jf'><q id='8U1Jf'><span id='8U1Jf'><b id='8U1Jf'><form id='8U1Jf'><ins id='8U1Jf'></ins><ul id='8U1Jf'></ul><sub id='8U1Jf'></sub></form><legend id='8U1Jf'></legend><bdo id='8U1Jf'><pre id='8U1Jf'><center id='8U1Jf'></center></pre></bdo></b><th id='8U1Jf'></th></span></q></dt></tr></i><div id='8U1Jf'><tfoot id='8U1Jf'></tfoot><dl id='8U1Jf'><fieldset id='8U1Jf'></fieldset></dl></div>
                • <tfoot id='8U1Jf'></tfoot>

                  <small id='8U1Jf'></small><noframes id='8U1Jf'>

                    <bdo id='8U1Jf'></bdo><ul id='8U1Jf'></ul>
                    1. <legend id='8U1Jf'><style id='8U1Jf'><dir id='8U1Jf'><q id='8U1Jf'></q></dir></style></legend>
                            <tbody id='8U1Jf'></tbody>