Setting breakpoints while editing

You can set or remove breakpoints in your code for use in testing and debugging:

  1. Position the cursor in the line where you want to add or remove a breakpoint.
  2. Right-click and choose Toggle Breakpoint.
Note: Alternatively, double-click in the marker bar (the left margin) at the line where you want to insert or remove a breakpoint.

If the selected line was not already marked as a breakpoint, a blue circle appears in the left margin, indicating a breakpoint. If the line was previously marked, the breakpoint is removed, and the blue circle disappears.