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:
- From the main window, choose Project
Debug Project (Ctrl-Shift-F5).
To run a file in the debugger:
- In the Explorer, select the file you want to work with.
- 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).
|
Legal Notices