[GDB]断点(breakpoint )恢复执行:step、ne

2018-08-31  本文已影响75人  AkuRinbu

使用书籍与相关笔记

[书籍]《软件调试的艺术》(《 The Art of Debugging with GDB, DDD, and Eclipse》)
https://www.jianshu.com/p/0805ba683126

目录

1、使用 step 和 next 单步调试
step 、简写 s
next 、简写 n

2、使用 continue 恢复程序执行
continue、 简写 c

3、使用 finish 恢复程序执行
finish 、简写fin

4、使用 until 恢复程序执行
until、简写u

恢复执行

GDB 断点 恢复执行的三种方法.PNG

1、使用 step 和 next 单步调试

1.PNG 2.PNG 3.PNG 4.PNG 5.PNG 6.PNG 7.PNG

2、使用 continue 恢复程序执行

使用 continue 恢复程序执行

3、使用 finish 恢复程序执行

4、使用 until 恢复程序执行

1.PNG 2.PNG 3.PNG 4.PNG 5.PNG 6.PNG 7.PNG 8.PNG 9.PNG 10.PNG
上一篇 下一篇

猜你喜欢

热点阅读