GNU debugger

The .gdbinit script is automatically executed during startup

A minimal .gdbinit could load the file, set a breakpoint at the entry and start running

file executable
break main
run