SET DEBUG
From Recital Documentation Wiki
Revision as of 11:02, 27 July 2010 by Yvonnemilne (Talk | contribs)
Purpose
Enable or disable the logging of DEBUG() messages
Syntax
SET DEBUG ON | OFF | (<expL>)
See Also
ASSERT, DB_DEBUGDIR, DEBUG, DEBUG(), SET ASSERTS
Description
If SET DEBUG is ON, debugging information messages specified by the DEBUG() function are written to a text file in the current DB_DEBUGDIR directory. The text file is named debug + process ID + .txt. A copy of the latest debug file can also be found in the file debug.txt. By default, DEBUG is OFF.
Example
set debug on // app1.prg debug("program started by " + user()) //... debug("program end")
Products
Recital