The DEBUGOUT command allows you to write values in the Debug Output window to a text file log. Alternatively, you can use the SET DEBUGOUT TO command or the Debug tab of the Options dialog box.
If you aren't writing DEBUGOUT commands to a text file, the Debug Output window must be open in order for the DEBUGOUT values to be written. The following line of code prints in the Debug Output window at the time that the line of code executes:
В | Copy Code |
---|---|
DEBUGOUT DATETIME( ) |
In addition, you can enable event tracking, and choose to have the name and parameters of each event that occurs displayed in the Debug Output window.