Difference between revisions of "SET STEP"

From Recital Documentation Wiki
Jump to: navigation, search
Line 1: Line 1:
=SET STEP=
 
 
 
 
==Class==
 
==Class==
 
Error Handling and debugging
 
Error Handling and debugging
Line 23: Line 20:
  
 
==Example==
 
==Example==
<pre>
+
<code lang="recital">
 
set echo on
 
set echo on
 
set step on
 
set step on
do testprg</pre>
+
do testprg
 +
</code>
  
  

Revision as of 11:45, 20 April 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