Keil Logo

Write Debug Output to a File

The LOG and SLOG commands can be used to write debug output files. You can run the µVision Debugger in batch files, and use a debug Initialization File that contains these commands to automate program testing.

>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 */
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.