In Atmel Studio 7 watch window the signed numbers are displaying in hexadecimal. How do I get them to display as a regular integer?
Right click the value in the watch window. The popup lets you turn off the hex formatting.
Until Black Lives Matter, we do not have "All Lives Matter"!
the signed numbers are displaying in hexadecimal
Not just signed numbers, surely?
As Jim says, you have just 2 options to cover everything: Hex or not.
If it is NOT hex formatted, it will take the display format from the data type. If it is an unsigned integer, it will show it that way. If it is a signed integer, it will show it as signed.
By using the right-click, you can change the format of any individual watch variable, so that they do NOT have to all be the same. That hex/not-hex selection may also control the format for newly added watch variables; don't remember that behavior, for certain.
... and https://onlinedocs.microchip.com...
(yes, I work for Microchip, yes, I do this in my spare time, now stop sending PMs)
The postings on this site are my own and do not represent Microchip’s positions, strategies, or opinions.
I thought I tried that but I guess I hadn't. Thanks!
© 2020 Microchip Technology Inc.