Once execution of your program is halted, you can step through your lines of code using the following commands on the Debug menu:
Step Into (F7)
Executes one source line. If the source line is a method call, stops just before executing the first statement of the method. You can also start a debugging session with the Step Into (F7) command. Program execution stops on the first line after the main method (before any changes have been made to the state of the program).
Step Over (F8)
Executes one source line. If the source line is a method call, executes the entire method without stepping through the individual method instructions.
Step Out (Ctrl-F7)
Executes one source line. If the source line is part of a method, executes the remaining lines of the method and returns control to the caller of the method.
See also | |
---|---|
Running to the Cursor Location
Continuing a Program in the Debugger |