Difference between revisions of "SET STEP"

From Recital Documentation Wiki
Jump to: navigation, search
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=SET STEP=
 
 
 
==Class==
 
Error Handling and debugging
 
 
 
 
==Purpose==
 
==Purpose==
 
Single step through the execution of a program
 
Single step through the execution of a program
Line 23: Line 16:
  
 
==Example==
 
==Example==
<pre>
+
<code lang="recital">
 
set echo on
 
set echo on
 
set step on
 
set step on
do testprg</pre>
+
do testprg
 +
</code>
  
  
 
==Products==
 
==Products==
Recital Terminal Developer
+
Recital  
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Commands]]
 
[[Category:Commands]]
 
[[Category:Set_Commands|STEP]]
 
[[Category:Set_Commands|STEP]]
 +
[[Category:Error Handling and Debugging]]
 +
[[Category:Error Handling and Debugging Set Commands]]

Latest revision as of 15:34, 25 November 2009

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