Running a Project or File in the Debugger

Before running a program in the debugger, the IDE (by default) compiles any uncompiled program. If the compile is successful, the IDE switches to the the debugging workspace, where it runs the program until it reaches a breakpoint or an exception, or until it exits normally.

To run the current project in the debugger:

To run a file in the debugger:

  1. In the Explorer, select the file you want to work with.

  2. From the main window, choose Debug Start Debugger (F5).
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
Debugging Programs
Setting Breakpoints
Compiling a Program
Specifying Arguments for Program Execution

Legal Notices