% @(#)debug_proc.hlq	1.1 (ESO-IPG) 7/9/91 13:27:06 
\rightpage
\se
SECTION./PROC
\es\co
DEBUG/PROCEDURE                                    17-DEC-1990  KB
\oc\su
DEBUG/PROCEDURE [low_lev,hi_lev] [switch]
	run MIDAS\ procedures in debug mode
\us\pu
Purpose:
          Run Midas procedures in debug mode.
\up\sub
Subject:
          Debugging
\bus\sy
Syntax:
          DEBUG/PROCEDURE [low_lev,hi_lev] [switch]
\ys\pa
          low_lev,hi_lev = \\ defines interval of levels, only if the Midas
              procedure is executed at a level inside that interval, it is
              run in debug mode. Defaulted to 1,1.
\ap\pa
          switch = ON or OFF, enable or disable debug mode at given levels;
\\
              defaulted to ON
\ap\sa
See also:
          DEBUG/MODULE, ECHO/ON, TRANSLATE/SHOW
\as\no
Note: 
          In debug mode each command line in the Midas procedure is displayed
          and only executed after the user hits the RETURN key. Thus you can
          step through the procedure line by line. 
\\
          Once you are in the debug mode (indicated by the prompt Mdb> ),
          enter 'h' for help to get a list of all the available options.
          E.g. at each step keywords may be inspected.
\\
          To turn off debug mode at all levels, enter simply  DEBUG/PROC OFF .
\on\exs
Examples:
\ex
          DEBUG/PROC  1,2
          All Midas procedures at level 1 or level 2 are executed in debug
          mode.
\xe\ex
          DEBUG/PROC off
          Turn debug mode off for all levels.
\xe \sxe
