Difference between revisions of "SET STEP"

From Recital Documentation Wiki
Jump to: navigation, search
Line 32: Line 32:
 
[[Category:Commands]]
 
[[Category:Commands]]
 
[[Category:Set_Commands|STEP]]
 
[[Category:Set_Commands|STEP]]
 +
[[Category:Error Handling and Debugging]]
 +
[[Category:Error Handling and Debugging Set Commands]]

Revision as of 15:08, 1 June 2009

Class

Error Handling and debugging


Purpose

Single step through the execution of a program


Syntax

SET STEP ON | OFF | (<expL>)


See Also

CANCEL, DEBUG, DISPLAY MEMORY, DISPLAY STATUS, DO, LIST MEMORY, LIST STATUS, QUIT, RESUME, SUSPEND, SET COMPILE, SET DEBUG, SET DEVELOPMENT, SET ECHO, SET TALK


Description

This command provides a pop-up debugger for debugging programs. The commands COMPILE and DEVELOPMENT must be set OFF when using SET STEP ON. The SET STEP ON command displays a pop-up debugger with the specified program or procedure. The pop-up program debugger can also be activated with the DEBUG command. When the DEBUG command is used, SET COMPILE does not have to be OFF as this is handled automatically. You must, however, load procedure libraries with SET COMPILE OFF when you are debugging a procedure. By default, STEP is OFF.


Example

set echo on
set step on
do testprg


Products

Recital Terminal Developer