<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                #### 安裝 ```bash #!/bin/bash wget http://ftp.gnu.org/gnu/gdb/gdb-8.2.tar.gz ./configure make && make install gdb -v ``` #### 使用 單獨編譯c文件的時候需要加入調試信息,用-g ```bash gcc -g test.c -o test ``` 如果是php需要修改下Makefile文件,如下: ![](https://box.kancloud.cn/fbe7953a846e48ab59ac1853fa336ef7_811x129.png) 把-O2修改為-O #### 命令 ```bash gdb -q # -q屏蔽顯示版本之類的說明 file test # 運行編譯后test文件 ``` ```bash gdb php # 開始運行php b main # 在main函數打上斷點 r test.php # 運行test.php文件 ``` - b <line_num|function_name> 打上斷點(break 7 if n==6表示第七行條件n為6打上斷點) - l <start,end> list顯示源代碼 - n next下一行代碼 - s step下一步代碼 - c continue繼續運行到下一個斷點 - r run運行代碼 - info b顯示所有斷點 - disable <num> 禁用斷點 - delete <num> 刪除斷點 - p <var> print打印變量 - whatis <var> 顯示變量類型 - q退出 #### 多進程調試 #### 多線程調試 [參考](https://www.cnblogs.com/life2refuel/p/5396538.html)
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看