Apprentice GDB operator guide
Run GDB as an INEXORABLE PROFESSIONAL
gdb -tui
Start the show (run)
r
Walk one line (step)
s
Walk one line without going into subroutine (next)
n
Schedule a stop at a certain place (breakpoint)
b
Step out of subroutine (finish)
fin
Examine intricate ways of destiny (backtrace)
bt
That's all you need to find your stupid bugs in your stupid program kid