PPWIZARD is a free preprocessor for HTML, REXX, Visual Basic or any text files.
[Bottom][Contents][Search][Prev]: CsReplacement[Next]: DefineMacroReplace

DebugLevel=["]Command1,Command2,...["]

This #option command allows you to modify the output generated by /debug and #debug.

PPWIZARD generates quite a bit of debug information when debug is on, this is fine for small source files but could easily become hundreds of thousands of lines in more complex situations. If you are debugging a specific issue you may want to turn off debugging of unrelated events (this could also speed things up). Of course being more selective about placement of #debug commands is another very good option (why debug the whole process?).

Note that you can turn off almost all debugging output, doing so could make it very difficult to determine what is going on as statements such as #AutoTag could transform lines in what appears to be a magical manner. It's up to you to determine what level you require.

The Commands

You may specify any numbers of commands, each separated by a comma. A command may begin with a '-' (to turn off) or '+' (turn on - default) the debug facility. By default all debug output is generated.

Valid debug facilities are:

REXXTRACE Output

This debug output is supplied by the rexx interpreter. The output from Regina is much inferior to that of OS/2 however it's still very useful. For an alternative way of debugging rexx code have a look at the /$Trace switch. The following can be used as a guide to understanding the output:

Example

Lets turn off all optional debugging except CONDITIONAL and OPTIONS:

    #option DebugLevel=~-ALL,+CONDITIONAL,OPTIONS~
    


[Top][Contents][Search][Prev]: CsReplacement[Next]: DefineMacroReplace

PPWIZARD Manual
My whole website and this manual itself was developed using PPWIZARD (free preprocessor written by Dennis Bareis)
Thursday January 17 2002 at 6:27pm