Step out of current function with GDB

后端 未结 1 1047
野趣味
野趣味 2021-01-30 03:40

Those who use Visual Studio will be familiar with the Shift + F11 hotkey, which steps out of a function, meaning it continues execution of the current func

1条回答
  •  迷失自我
    2021-01-30 03:59

    You can use the finish command.

    finish: Continue running until just after function in the selected stack frame returns. Print the returned value (if any). This command can be abbreviated as fin.

    (See 5.2 Continuing and Stepping.)

    0 讨论(0)
提交回复
热议问题