Keil Logo

µVISION DEBUGGER: Colored string in serial and debug(printf) windows


Information in this knowledgebase article applies to:

  • MDK ALL VERSIONS
  • C251 ALL VERSIONS
  • C166 ALL VERSIONS
  • C51 ALL VERSIONS

QUESTION

We often use the debug (printf) 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) 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) window would not display any control characters because the sequences are detected and ignored. 

MORE INFORMATION

Last Reviewed: Tuesday, August 13, 2019


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.