µVision User's Guide

legacy

Write Debug Output to a File

The LOG and SLOG commands may be used to write debug output files. You may run the µVision3 debugger in batch files and use a debug Initialization File that contains these commands to automate program test.

>LOG >>C:\TMP\DEBUGOUT.TXT     /* Log Output Window - Command Page */
>SLOG >>C:\TMP\DEBUGOUT.TXT    /* Log Serial Window Output */
>                              /* Output of the Command Page and the */
>                              /* Serial Window are written to file */
>LOG OFF                       /* Stop Output Window Logging */
>SLOG OFF                      /* Stop Serial Window Logging */