Program execution may be single stepped one or more source-level statements at a time. It is possible to set default stepping modes:
- You may specify that a Step should, by default, step into or over a call to a subroutine.
- You may specify a default Step action list to be executed every time the debugger executes a Step.
- You may also specify that a Step to a user-defined breakpoint should either execute the default Step action list, the breakpoint action list, or both.
There are three pertinent commands to the Step facility: STEP, DSTEP, and LSTEP.
- The STEP command starts program execution at the current location of the execution pointer and stops execution after one or a specified number of statements.
- The DSTEP command allows you to modify the default stepping modes and action list.
- The LSTEP command lists the current stepping modes and action lists.