Keil Logo

µVISION DEBUGGER: Colored String in Serial and Debug (printf) Viewer W


Information in this knowledgebase article applies to:

  • Keil MDK ALL VERSIONS
  • C251 Development Tools ALL VERSIONS
  • C166 Development Tools ALL VERSIONS
  • C51 Development Tools ALL VERSIONS

QUESTION

We often use the debug (printf) viewer window to view the retargeted output data. Is it possible to view this output data in different colors?

ANSWER

Unfortunately, it is not possible to change the text colors in the serial- or debug(printf) viewer window dynamically.

These windows support a subset of the VT-100 terminal sequences to control for example the cursor position but the color codes are intentionally ignored because the current implementation of the window does support different colors.

If you would use the encoding to change colors, the debug(printf) viewer window would not display any control characters because the sequences are detected and ignored. 

MORE INFORMATION

Last Reviewed: Tuesday, October 20, 2020


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  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.