Setting a breakpoint involves selecting the line of source code to set a breakpoint on. In this case it is easy because the source code is only small. For larger source code you will need to use the scrollbars and Find tools. The PICMICROS package specification covers these additional tools more completely. Once you have selected the line at which to set a breakpoint, click the mouse in the grey margin of the source code editor, to the left of the line of code.
Once the breakpoint is set the line of source code becomes highlighted in red, and a red breakpoint bullet appears in the margin next to the line. If there is already a breakpoint set on a source line the breakpoint will toggle off. If the source code is reset, that is if there is a change to the source code and it is reloaded, all breakpoints are reset.
Now that you have set a breakpoint when you run the simulation it will automatically halt at this line of code. In this example when you press run it probably will appear as if nothing has happened because there are only a few steps until the breakpoint is reached again. Nevertheless the simulation is running, repeatedly pressing run will step through the simulation 4 steps at a time instead of just one at a time.
Well that wraps up the first tutorial. All that remains is to return to design mode and save the breadboard.