Starting a Debugging Session

All debugging commands in the Debug menu are run on the main project. Regardless of the file or project selected in the Projects window or Source Editor, the Debug menu commands begin a debugging session in the main class of the main project.

To debug an individual project, right-click the project in the Projects window and choose Debug. The IDE runs the project in the debugger until execution stops or a breakpoint is reached.

To debug an individual file, select a runnable file in the Projects window and choose Debug > Debug File. The IDE runs the file in the debugger until execution stops or a breakpoint is reached.