pause gdb without breakpoint

后端 未结 1 1074
孤城傲影
孤城傲影 2021-02-04 00:34

When I am debugging a program in Xcode, I can pause execution in there debugger console. Is there any way to do this using gdb from the command line?

I\'d like to do

1条回答
  •  野趣味
    野趣味 (楼主)
    2021-02-04 01:27

    You can just press Ctrl+C and will be able to do what you ask, although it might not always work (see comments below).

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