Steps through a procedure one command at a time, halting after each command.
SET SINGLESTEP ON|OFF
When SINGLESTEP is switched ON, execution is halted (by the HALT utility) after each command executed. To resume execution after the HALT, press Enter at the HALT prompt (>>).
Compiled application programs are not affected by SET SINGLESTEP.
The SET SINGLESTEP command is not affected by the SET RESET and SET RESTORE commands.
To switch to singlestep, use
> set trace on
> set singlestep on
Now, if you execute an application program, it looks like this:
> DoCusts (“edit”)
>procedure DoCusts (in ExMode)
>let dp = $true