help running ให้คำแนะนำบางอย่าง:
มีstepและnextชักชวน (และยังnextiและstepi)
(gdb) help next
Step program, proceeding through subroutine calls.
Usage: next [N]
Unlike "step", if the current source line calls a subroutine,
this command does not enter the subroutine, but instead steps over
the call, in effect treating it as a single source line.
ดังนั้นเราจะเห็นstepขั้นตอนนั้นเป็นรูทีนย่อย แต่nextจะก้าวข้ามรูทีนย่อย
stepและstepi(และnextและnexti) จะแตกต่างจาก "สาย" หรือ "คำแนะนำ" เพิ่มขึ้น
step -- Step program until it reaches a different source line
stepi -- Step one instruction exactly
ที่เกี่ยวข้องคือfinish:
(gdb) help finish
Execute until selected stack frame returns.
Usage: finish
Upon return, the value returned is printed and put in the value history.
ข้อมูลที่เป็นประโยชน์มากขึ้นอยู่ที่https://sourceware.org/gdb/onlinedocs/gdb/Continuing-and-Stepping.html