Logs debugger commands and, optionally, output to a specified file or files.
LOG [/FuLL]filename
where:
CodeWatch> LOG temp CodeWatch> FIND Main 77 REM ** Main Program ** CodeWatch> BREAKPOINT 89 CodeWatch> PRINT 20 77: REM ** Main Program ** 78: INTEGER max_value, max_primes, n 79: REM REAL a 80: 81: max_value = 1000 82: max_primes = 500 CodeWatch> NLOG Ending debugger command logging to "temp" CodeWatch> !cat temp FIND Main BREAKPOINT 89 PRINT 20
Description
The Log command causes all subsequent debugger commands to be appended to the specified file.
The /FULL option specifies that all output from the debugger be logged to the specified file in addition to all debugger commands. It is possible to log commands to one file and commands-and-output to another file. This would be done by the commands:
The NLOG command takes an optional file name that tells the debugger which log session to stop. If no file name is given, the debugger will first check if commands are being logged to a file (no /FULL). If so, that log session is stopped. If there is no such log session, the debugger checks to see if commands-and-output to a file (/FULL) are being logged. If so, that log session is stopped.