Starting a Debugging Session

  1. Set a breakpoint in your program.

    If you are debugging a GUI application or another looped application, it is not necessary to set a breakpoint.

  2. From the main window, choose Debug Start (F5).

    The IDE switches to the debugging workspace and runs the program until it reaches a breakpoint or an exception or exits normally.

You can also start a debugging session by choosing Debug Step Into (F7). Program execution stops on the first line after the main method (before any changes have been made to the state of the program).
See also
Setting a Breakpoint on a Line

Stepping Through Your Program

Using the Debug Workspace

Legal Notices