gdb [ core ] : to start gdb (gdb) list [ ] [ ] : to see source codes (gdb) list : (gdb) run [ ] : to exec " " in gdb (gdb) backtrace : to trace the error (gdb) break : to set break point at line (gdb) break : (gdb) break / if (gdb) continue : to continue (gdb) whatis : to see the type of a variable (gdb) print : to see its value (gdb) step : to go a step forward (gdb) info line : to see the machine lang code info (gdb) disassemble : to disassemble the machine lang codes