Step through a program

To continue a program playing click Play/Continue.

To stop a program playing click Pause.

In multi-process mode these commands will start/stop all the processes in the current process group (see Process control and process groups).

There are three different types of step available:

  • Step Into moves to the next line of source code unless there is a function call, in which case it steps to the first line of that function.

  • Step Over moves to the next line of source code in the bottom stack frame.

  • Step Out executes the rest of the function and then stops on the next line in the stack frame above. The return value of the function is displayed in the Locals view. When using Step Out be careful not to step out of the main function, as doing this ends your program.