ARM Technical Support Knowledge Articles

CHANGING BASE OF VARIABLES IN WATCH WINDOW

Applies to: uVision IDE

Answer


Information in this article applies to:


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, measuremainidx, 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

SEE ALSO

Article last edited on: 2005-07-19 10:04:49

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential