Local debugging is the process of debugging a program that is running on the same computer as the IDE. The IDE starts the JPDA debugger, then runs the application inside the debugger. When you start a debugging session, the IDE automatically opens the debugger windows and prints debugger output to the Output window.
Command | Shortcut | Description |
---|---|---|
Run > Debug Main Project | F5 or
![]() |
Runs the program until it reaches a breakpoint or exception or until the program terminates normally. |
Run > Step Into | F7 or
![]() |
Runs the program to the first line after the main routine and pauses execution before any changes have been made to the state of the program. |
Run > Run to Cursor | F4 or
![]() |
Runs the program to the cursor location in the Source Editor and pauses the program. The file you have selected in the Source Editor must be called from the main class of the main project. |
The IDE runs the project in the debugger until execution stops or a breakpoint is reached.
The IDE runs the file in the debugger until execution stops or a breakpoint is reached.
For a full guide to configuring free-form projects, see: