Setting and Deleting a Breakpoint

In the Source window, the debugger indicates lines of code on which you can set breakpoints with a blue dot at the start of the line.

  1. To set a breakpoint in the Source window:
    1. Right-click a line of code that contains a blue dot.

      The line pointer is set to this line, and the pop-up menu of the window appears.

    2. Select Create Breakpoint.

      Alternatively, you can set a breakpoint by double-clicking the blue dot.

      A breakpoint is now set, indicated by a red stop-sign.

    3. Run the application again.

      The application should stop at the breakpoint you set.

  2. To delete the breakpoint:
    1. Right-click a line of code that contains a stop sign.

      The line pointer is set to this line, and the pop-up menu of the window appears.

    2. Select Delete Code Breakpoint.

      Alternatively, you can delete a breakpoint by double-clicking the stop sign.

      You have deleted the breakpoint you set. The blue dot has replaced the stop-sign.

    3. Run the application again.

      The application runs, and displays Hello World! in a shell, and the program exits.


Submit feedback on this help topic