Keil™, An ARM® Company

Technical Support

µVISION: CHANGING BASE OF VARIABLES IN WATCH WINDOW


Information in this article applies to:

  • C166 Version 4.02

QUESTION

How do I change the base of variables in the Watch Window? When I add them using the menu, they are always displayed in Hex.

ANSWER

The only way to achieve this is to use the WATCHSET command in the Command Window. For example:

WS 1, \measure\main\idx, 10

adds the variable idx in the function main in the measure example to watch window 1, and displays it in base 10. Currently only bases 10 and 16 are supported.

MORE INFORMATION

  • For more information on the WATCHSET command, refer to page 260 in the dScope for Windows manual (01.97).

SEE ALSO

Last Reviewed: Tuesday, July 19, 2005


Did this article provide the answer you needed?
 
Yes
No
Not Sure