DebuggerDisplayAttribute implementation doesn't have means to check for the current display settings (such as hexadecimal base) #39661
Labels
Area-Interactive
Developer Community
The issue was originally reported on https://developercommunity.visualstudio.com
Interactive-Debugging
Milestone
This issue has been moved from a ticket on Developer Community.
I'm using a bit pattern (a Uinteger) as a key in a Dictionary. I've switched the display to hex, but the values are still displayed in decimal. This is similar to an already reported problem, which has been solved in VS 15.8, but it's happening in VS 15.9.6.
The attached shows a dictionary whose count in in hex but the keys are in decimal.
This happens both when using the "locals" tab and when hovering over a value.
Whether the item number shold be in hex or decimal is an interesting question.
(private comment, text removed)
The text was updated successfully, but these errors were encountered: