To use gdb the program to use it on must be compiled with the -g option. > gdb prog Starts gdb. where prog is the program name. set args < file Sets command line arguments. A .gdbrc file will run commands each time gdb is started. list line#, list func, list file.c:line# break line# run print step (one statement) (steps into subroutine and stops) next (stop at next statement) stepi (assembly lang level) nexti X words(i) (d) (c) 0xaddress (i)nt, (d)ec, (c)har info stack cont delete break#