KnowDotNet NetRefactor

Integers Displayed as Hex in Visual Studio .NET

Visual Studio .NET Mystery Solved

by Les Smith
Print this Article Discuss in Forums

Did you ever hover your mouse over an Integer and have the tool tip display the value in Hex?  I have, a couple of times, and wondered, "What is going on?"

In desperation, I tried restarting Visual Studio, and even resorted to rebooting only to find the same thing happening to me.  I wondered if I needed to reinstall Visual Studio, please nooooooooooo!

Nope, I finally remembered what I did the last time it happened to me.  Just go to the Tools Options Dialog, Debugging tab and uncheck the Hexadecimal Display check box.  I have no idea how it got checked as I know I did not do it.  It happened to me yesterday (not the first time), while in a debugging session and I had been no where near the Options diallog, much less changing to Hex display.  

I read binarry, and add, subtract, multiply, and divide in Octal (showing my age), but I could never spell EBCDIC and never bothered to try to learn HEX, being a pampered VB Programmer until 3 years ago when I had to bite the bullet and learn C#.

Maybe it won't happen to you, but if it does, maybe a search in Google will bring you here and solve the mystery.

Writing Add-Ins for Visual Studio .NET
Writing Add-ins for Visual Studio .NET
by Les Smith
Apress Publishing