Stopping and continuing.
Sébastien Granjoux
seb.sfo@free.fr
Philip Chimento
philip.chimento@gmail.com
Jaume Planas
jplanas@itberga.com 2011
Gil Forcada
gilforcada@guifi.net 2013

# 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

Trieu Depura Avança un pas en el menú principal, premeu F5 o feu clic a la icona Avança un pas de la barra d'eines.

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

Trieu Depura Avança al final en el menú principal, premeu F6 o feu clic a la icona Avança al final de la barra d'eines.

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 ShiftF5 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

Trieu Depura Executa/continua en el menú principal, premeu F4 o feu clic a la icona Continua de la barra d'eines.

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

# Avança fins

Trieu Depura Executa fins al cursor en el menú principal, premeu F8 o feu clic a la icona Executa fins de la barra d'eines.

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

Trieu Depura Fes una pausa al programa en el menú principal o feu clic a la icona Fes una pausa de la barra d'eines.

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