GNU debugger for inspecting and debugging compiled programs
GNU debugger
gdb
$ gdb ./my_program
$ gdb -p 1234
$ gdb -ex 'break main' -ex 'run arg1 arg2' ./my_program