• <legend id='nES3q'><style id='nES3q'><dir id='nES3q'><q id='nES3q'></q></dir></style></legend>

      • <bdo id='nES3q'></bdo><ul id='nES3q'></ul>

        <small id='nES3q'></small><noframes id='nES3q'>

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

        如何在函数返回的 GDB 中设置断点?

        时间:2023-05-22
            <tbody id='ox8uB'></tbody>

          <legend id='ox8uB'><style id='ox8uB'><dir id='ox8uB'><q id='ox8uB'></q></dir></style></legend>
            <bdo id='ox8uB'></bdo><ul id='ox8uB'></ul>

          • <tfoot id='ox8uB'></tfoot>

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

                  <small id='ox8uB'></small><noframes id='ox8uB'>

                • 本文介绍了如何在函数返回的 GDB 中设置断点?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  限时送ChatGPT账号..

                  我有一个 C++ 函数,它在不同的地方有很多 return 语句.如何在函数实际返回的return语句处设置断点?

                  I have a C++ function which has many return statements at various places. How to set a breakpoint at the return statement where the function actually returns ?

                  没有参数的break"命令是什么意思?

                  And what does "break" command without argument means?

                  推荐答案

                  break without arguments 在当前选定堆栈帧中的下一条指令处停止执行.您可以通过 frameupdown 命令选择跟踪帧.如果要调试实际上离开当前函数的点,请选择下一个外部框架并在那里中断.

                  break without arguments stops execution at the next instruction in the currently selected stack frame. You select strack frames via the frame or up and down commands. If you want to debug the point where you are actually leaving the current function, select the next outer frame and break there.

                  这篇关于如何在函数返回的 GDB 中设置断点?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:修复 C++ 中的分段错误 下一篇:适合初学者的良好调试器教程

                  相关文章

                  最新文章

                  <small id='v5bjf'></small><noframes id='v5bjf'>

                  • <bdo id='v5bjf'></bdo><ul id='v5bjf'></ul>
                  <legend id='v5bjf'><style id='v5bjf'><dir id='v5bjf'><q id='v5bjf'></q></dir></style></legend><tfoot id='v5bjf'></tfoot>

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