Overview of the Debug Commands

The following commands are available from the Debug menu in the main window.
Menu Command Description Keyboard and Toolbar Shortcuts
Start Debugging Runs the current program in the debugger F5,
Continue Resumes execution of a paused program Ctrl-F5,
Finish Debugging Ends the current debugging session Shift-F5,
Attach to VM Connects the debugger to a virtual machine that is already running
Add/Remove Breakpoint Sets or removes a breakpoint at the line in the Source Editor in which the cursor is positioned Ctrl-F8,
New Breakpoint Opens a dialog box in which you can create a breakpoint Ctrl-Alt-F8,
Add Watch Opens a dialog box in which you can add an entry to the Watch window Shift-F8,
Debugger Opens the Debugger window, which has separate tabs for managing breakpoints, variables, watches, and threads Ctrl-5
Run to Cursor Runs the current program to the cursor location and calls the debugger F4,
Step Into Steps into the next line of source code, even it it is contained within a method F7,
Step Over Steps over the current method and stops with the method returns F8,
Step Out Runs the current method until it returns to its caller Ctrl-F7,
Suspend All Threads Suspends the execution of all threads Ctrl-Pause,
Resume All Threads Resumes the execution of all threads Ctrl-Shift-Pause,
See also
The Debugging Environment
Configuring the Debugging Toolbar
Setting Debugging Options for the Environment

Legal Notices