使用书籍与相关笔记
[书籍]《软件调试的艺术》(《 The Art of Debugging with GDB, DDD, and Eclipse》)
https://www.jianshu.com/p/0805ba683126
在GDB中检查变量
-
print,简写p disp-
call,call+自己代码里的函数 commands- 通过重新定义一个空集来取消该命令集
截图取自3.2.1
3.2.1 在GDB中检查变量.png
[书籍]《软件调试的艺术》(《 The Art of Debugging with GDB, DDD, and Eclipse》)
https://www.jianshu.com/p/0805ba683126
print,简写 p
dispcall,call+自己代码里的函数
commands
3.2.1 在GDB中检查变量.png
本文标题:[GDB]检查变量:print、disp、call
本文链接:https://www.haomeiwen.com/subject/cirpwftx.html
网友评论