如果你有GDB 7.4或更高版本,那么有一个skip命令可以让你跳过函数或整个文件.将文件或函数标记为跳过后,它不会再次进入它.从GDB手册 - 跳过函数和文件
skip [linespec]
skip function [linespec]
After running this command, the function named by linespec or the function containing the line named by linespec will be skipped over when stepping.
skip file [filename]
After running this command, any function whose source lives in filename will be skipped over when stepping.
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
160 次 |
| 最近记录: |