The complete set of options for stepping through source code are displayed on the Run menu. They include the following:
Function |
Shortcut key |
Description |
---|---|---|
Run |
F5 |
Continue running until the next breakpoint, until the Stop item is selected, or until execution finishes. |
Step Over |
F7 or Space |
Step to the next line in the current method. If the line steps into a different method, step over the method, not into it. Also, step over any breakpoints within methods that are stepped over. |
Step Into |
F8 or i |
Step to the next line of code. If the line steps into a different method, step into the method. |
Step Out |
F11 |
Complete the current method, and break at the next line of the calling method. |
Stop |
Break execution. |
|
Run to Selected |
F6 |
Run until the currently selected line is executed and then break. |
Home |
F4 |
Select the line where the execution is broken. |