Stopping and continuing.
Sébastien Granjoux
seb.sfo@free.fr
Philip Chimento
philip.chimento@gmail.com

# Stop and step

Like a video editing session, the program can be executed in slow motion with the ability to go forward, pause, stop, and so on. This is essential for tracking program behavior. You cannot go backward yet, though.

# Step in

From the main menu, select Debug Step In or press F5 or click on the Step In icon in the toolbar.

Single stepping executes only one statement of the program (from the place where it has stopped) and then returns control. If the statement that is executed contains one function, the debugger tries to step inside the functions (in the sequence in which the functions are executed). Once the statement is executed and control is passed back, you can study your program's state.

If the Disassembly window has the focus when this command is selected, it executes only one assembler instruction.

# Step over

From the main menu, select Debug Step Over or press F6 or click on the Step Over icon in the toolbar.

Stepping over is similar to stepping except that it does not stop inside any function in the statement being executed.

If the Disassembly window has the focus when this command is selected, it executes only one assembler instruction, except if that instruction is a call to a subroutine, in which case the program stops when the subroutine is completed.

# Step out

From the main menu, select Debug Step Out or press Shift F5 or click on the Step Out icon in the toolbar.

Stepping out executes the current function until it returns to the calling function.

# Run and continue

From the main menu, select Debug Run/Continue or press F4 or click on the Continue icon in the toolbar.

This command restarts the program and lets it run until a breakpoint is encountered or the program exits.

# Exécution jusqu'à

From the main menu, select Debug Run to Cursor or press F8 or click on the Run to icon in the toolbar.

This restarts the program and lets it run until the line or the address (if the Disassembly window has the focus) at the cursor is reached.

# Stopping the Program

From the main menu, select Debug Pause Program or click on the Pause icon in the toolbar.

This interrupts the program and returns control to the debugger, allowing you to perform debugging tasks, like inspecting data or adding breakpoints.