% @(#)debug_modu.hlq 1.1 (ESO-IPG) 7/9/91 13:27:05 \rightpage \se SECTION./MODU \es\co DEBUG/MODULE 29-MAY-1991 KB \oc\su DEBUG/MODULE [low_lev,hi_lev] [switch] run MIDAS\ modules in debug mode \us\pu Purpose: Run Midas (executable) modules in debug mode. \up\sub Subject: Debugging \bus\sy Syntax: DEBUG/MODULE [low_lev,hi_lev] [switch] \ys\pa low_lev,hi_lev = \\ defines interval of levels, only if the Midas module is executed at a level inside that interval, it is run in debug mode. Modules which are executed at a different level are not (!) run in debug mode. \\ Defaulted to 1,1. \ap\pa switch = ON, NO, TIME or OFF; \\ ON - run module with debugger; \\ NO - do not execute the module, i.e. continue with procedure; \\ TIME - run module normally + show time before and after execution \\ OFF - disable debug mode, execute module normally; \\ defaulted to ON \ap\sa See also: DEBUG/PROCEDURE \as\no Note: 'Levels' are the levels at which the relevant Midas procedures containing the module are executed. \\ To turn off debug mode at all levels, enter simply DEBUG/MODU OFF . \\ If switch = TIME, the times are also stored in the MIDAS logfile. \on\exs Examples: \ex DEBUG/MODU 1,2 Run all Midas modules which are executed in a procedure at level 1 or level 2 in debug mode. \xe\ex DEBUG/MODU off Turn debug mode off for all levels. \xe\ex DEBUG/MODU 2,2 no Skip all executable modules at procedure level 2. \xe \sxe