PPWIZARD is a free preprocessor for HTML, REXX, Visual Basic or any text files.
[Bottom][Contents][Search][Prev]: Inbuilt Rexx Tracing[Next]: Break Point Command Line
\ -> Debugging Problems / Tracing -> Debugging Rexx Code -> #DefineRexx Tracing

#DefineRexx Tracing

This type of tracing is different from the inbuilt tracing supplied by the rexx interpreter in that PPWIZARD needs to insert statements into your rexx code either at your specific request or automatically. The insertion of these statements is only performed by the #DefineRexx command.

This facility is quite powerful, as well as automatically dumping variable values you can set breakpoints to break at specific locations, any location or execute some rexx code which can decide if a breakpoint should expire.

When a breakpoint expires you are left at a break point command line prompt where you can run any rexx commands and some PPWIZARD specific ones.

An example of forcing processing to stop at a particular place (notice that you can selectively do this if placed in an "if" block):

#DefineRexx ''
   $BreakPoint After loading the file
   if  count = 100  then
       $BreakPoint Count = 100
   $Trace nearly finished.

In the above the "$BreakPoint" will cause processing to stop (until resumed) whether debug is on or off. The "$Trace" command will only have an effect if debugging is on and will trace but not halt processing (unless you set a matching breakpoint).

PPWIZARD normally inserts start/end tracing so even if you don't do any yourself some tracing can occur.

email me  any feedback, additional information or corrections.
See this page online (look for updates)

[Top][Contents][Search][Prev]: Inbuilt Rexx Tracing[Next]: Break Point Command Line

My whole website and this manual itself was developed using PPWIZARD (free preprocessor written by Dennis Bareis)
Saturday May 28 2022 at 2:55pm