thebeebs | Why are my integers showing as hexadecimal in Visual Studio 2005
thebeebs
Learn the art of website security
 
 

Why are my integers showing as hexadecimal in Visual Studio 2005

by Administrator 1. May 2008 02:30

If you Integers are displaying as hexadecimals (funny letters) then you've probably switched on the hexadecimal display option in your watch window.

You need to debug a project, open up the watch window: Debug > Windows > Watch 1 then right click on an entry and untick 'hexidecimal display'.

I hate it when your using an IDE and something stops working, finding a fix can be like hunting around for a needle in a hay stack.

Today I faced the above problem; I've faced this problem twice before, it seems to happen once every year or so. I always forget that the fix isn't in the options menu and hopefully by blogging it, next time the solution will be a simple search away.

Tags: , , , , , , , , ,

Comments (13) -

Eddie
Eddie New Zealand
5/29/2008 11:22:12 AM #

Cheers mate, I had this exact problem today.

Martin Beeby
Martin Beeby United Kingdom
5/29/2008 4:30:37 PM #

No problem. It such an annoying thing that seems to catch everyone out at least once.

Greg
Greg United States
9/11/2008 9:43:16 AM #

Thank you for posting this! It was driving me crazy, and the hex toggle was just a right-click away. And thanks for being the kind of developer who blogs about it when you learn new things. I'm not so magnanimous Smile

Mattin Beeby
Mattin Beeby United Kingdom
9/12/2008 12:56:30 AM #

No problem... thanks for using the word magnanimous.

Cindy
Cindy United States
9/19/2008 1:35:45 PM #

Thank you! It was making me crazy!

Denis Pitcher
Denis Pitcher
9/29/2008 9:59:33 AM #

Thanks for posting this

Allan S. Hansen
Allan S. Hansen Denmark
2/16/2009 6:27:08 AM #

Thank you so much, had this exact problem in VS2008 (same solution) and it was driving me crazy why all the sudden I got Hex numbers instead of integer numbers.

Thank you Smile

Bhushan
Bhushan United States
3/27/2009 1:00:10 AM #

Thanks dude..But there is one toolbar button beside debug HEX that will also help in this senario...

IP PBX
IP PBX United States
5/1/2009 2:30:31 PM #

fixed all my problems I was having with visual studio

rift platinum
rift platinum United States
3/26/2011 12:36:10 PM #

very nice blog. Ready to hear more in the future.

buy rift gold
buy rift gold United States
3/28/2011 10:13:56 AM #

very nice blog. Ready to hear more in the future.

diet solution program review
diet solution program review United States
7/7/2011 4:18:45 PM #

contents

stratford on avon hotels
stratford on avon hotels United States
9/5/2011 3:29:36 PM #

Hey this is a great post. Could you keep me updated with any other info similar to this? If travelling to the UK why not stay at Stratford hotel and watch a Shakespear play

Comments are closed