valgrind --track-origins=yes ./executable
Debug with program with parameters. e.g. ./executable -p parameters.inp
gdb --args ./executable -p parameters.inp