Debugging With GDB
Contents
How to launch a program
There are three ways to launch a program:
run
: Start debugged program. If we don’t set any breakpoints, it will run directly until get to the end of execution.start
: Start the debugged program stopping at the beginning of the main procedure.starti
: Start the debugged program stopping at the first instruction.