SINGLE STEP Command - Advance Program One Line
Syntax
.{count}
Description
The Single Step command advances the program one line. The first single step does not perform a program line but displays the next line to execute. In console mode, typing in a period "." and a carriage return causes the single step of one program line. Typing a count after the period executes that number of program lines. Or, if a count is given, it performs one program line less than the count. This is used to examine variables and monitor program flow and enhances debugging by always displaying the next line to be performed before executing it. The last line displayed is always the next line to be executed.
In effect, single step performs a SETTRACE. As soon as one trace is performed, PRO/5 drops into console mode, and trace is turned off. Therefore, the last program line listed is the one about to execute. Single stepping individual statements within a compound statement is not possible.