The locals window currently does not allow changing display formats.
Of course it would be nice if it did....
But, how to deal with it?
Say you have a variable "X: integer", and you display it in hex. -> great. Now you keep stepping. Eventually you either step into another function, or out of the current function (or run to a breakpoint in another function...)
Let's say you STEP INTO a function. So that eventually you will step back out into the current.
Then...
1) There could be no "X" at all.
Ok, no problem, lets just remember "X = hex", and if there later will be an "X" again (because you stepped out), then that works.
2) There is an X: string, then "hex" has no effect
3) There is an X: integer, but it has a different meaning, and you need it in decimal.
In (2) storing "X = hex" would still work, so long as you don't won't to see the string in a diff format.
But for (3) you would change the format, and you have to change it back later.
In principal that all works.
And it actually is the same with watches (except you can have 2 watches with diff formats for the same value). You just may be forced to change the format over and over...
Ideas how to do better?