Debugging
© PHYTEC Meßtechnik GmbH 2002 L-462e_2
67
4.6.2
Breakpoints
•
Click in the line where the ‘wait’ function is called for the first
time.
•
Click on Insert/Remove Breakpoint
to set a breakpoint here.
The red marker on the left-hand side of the selected line indicates
the breakpoint.
•
Click on the Run
icon and the program will run and stop at
the breakpoint.
•
Notice that the LED (D3) on the Development Board now
illuminates. This is because the led(0) function call has been
executed and the status of the LED is shown in the Serial
window.
•
Click again on Insert/Remove Breakpoint
to remove the
breakpoint.