ROBOTC for Arduino - Breakpoints |
Breakpoints are denoted by a red circle in the gray
area between the code and the line numbers. To add a breakpoint:
To remove a breakpoint:
Running your program with
breakpoints: This message is an indication that
the breakpoint has been reached. ROBOTC highlights the line of the breakpoint
that was reached, allowing you to see which breakpoint the program execution
stopped at (assuming you have multiple breakpoints).
Right-click on the line number where you wish
to add a break point and a context menu will appear. Select "Insert
Breakpoint" to place a breakpoint at that line.
Animation: Adding a Breakpoint
Right click on the red breakpoint circle and
select "Remove Breakpoint".
When a breakpoint is reached in a program
while the debugger window is open, you will see the following message from
ROBOTC: