Sheerpower detects and announces exceptions and build errors. Sometimes
errors occur which do not prevent execution, but do cause a program to
execute incorrectly. Sheerpower provides a high-level DEBUG system for
detecting these more subtle errors.
DEBUG ON enables Sheerpower's Debug System. DEBUG OFF disables the
system.
The related function for the Sheerpower Debug System is _DEBUG. See
Section 6.8.1 for information on the _DEBUG system function.
Some DEBUG features automatically switch DEBUG ON or OFF when they are
executed. Others require that DEBUG be enabled. (See DEBUG ON/OFF)
Here is a list of Sheerpower's DEBUG System features that require DEBUG
to be enabled:
- TRACE ON and OFF
- STATS ON and OFF
- LIST STATS
- BREAK
- STEP
*Unlike most languages, Sheerpower's debugging environment does not
noticeably slow down program execution.