gdb

gdb

Command Description run or r Executes the program from start to end. break or b Sets a breakpoint on a particular line. disable Disables a breakpoint enable Enables a disabled breakpoint. next or n Executes the next line of code without diving into functions. step Goes to the next instruction, diving into the function. list or l Displays the code. print or p Displays the value of a variable. quit or q Exits out of GDB. clear Clears all breakpoints. continue Continues normal execution ref refresh the screen print print a value of a variable kill kill program being run

backlinks