Use the controls

After you start the debugger, it stops (by default) in main and waits for your input. (For information about changing this setting, see Debugger tab in the Launch Configurations Reference chapter.)

The debugging controls appear in the following places (but not all together in any one place):

The controls are overridden by breakpoints. For example, if you ask the program to step over a function (i.e. run until it finishes that function) and the program hits a breakpoint, the program pauses on that breakpoint, even though it hasn't finished the function.

You can control your debug session in various ways: