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.
Jim Wagner Oregon Research Electronics, Consulting Div. Tangent, OR, USA http://www.orelectronics.net
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 Atmel, yes, I do this in my spare time, now stop sending PMs)
I thought I tried that but I guess I hadn't. Thanks!
© 2020 Microchip Technology Inc.