Por*_*fum 8 gdb visual-studio-code vscode-settings
我知道我们可以在 gdb 中使用 handle 信号命令让它将 SIGINT 信号传递给程序。在 vs 代码中使用调试器时有没有办法做同样的事情?
打开另一个终端。
ps -eaf |grep <Proc-Name> // find the PID
kill -s SIGINT PID_OF_PROCESS
Run Code Online (Sandbox Code Playgroud)
返回 VS Code 现在您可以查看并使用堆栈跟踪等。
| 归档时间: |
|
| 查看次数: |
1780 次 |
| 最近记录: |