When a thread is suspended, the step controls can be used to step through the execution of the program line-by-line. While performing a step operation, if a breakpoint is encountered, execution suspends at the breakpoint and the step operation ends.
You can use step commands to step through your program a single line at a time.
When you issue a step over, the thread runs one line in the current stack frame. To execute a step over command:
Step into resumes the suspended thread by stepping into the method contained on the selected line of code. If no method exists in the line, the step into action will behave the same as the step over action.
To execute a step into command:
When you issue a step return, all threads run until a return to a calling stack frame or the end of program is reached. To execute a step return command:
When a thread is suspended, it is possible to resume execution until a specified line is executed. This is a convenient way to suspend execution at a line without setting a breakpoint.