all groups > visual studio .net debugging > may 2006 >
You're in the

visual studio .net debugging

group:

integers are displayed as Hex


integers are displayed as Hex DG78
5/17/2006 12:00:00 AM
visual studio .net debugging:
Hi,



In debug mode, my integers are displayed as Hex either when I put the mouse
hover the variable or in immediate windows.



Les Smith at http://www.knowdotnet.com/articles/hexdisplay.html give a
solution to solve this "mystery". His suggestion is ok in .net 1.1. Here,
there is a Hexadecimal Display checkbox in Tools / Options / Debugging tab.



But, this checkbox doesn't exist in .net 2.0 (I use VB but it is the same
with C#).



How to solve this mystery ?



I have only 10 fingers to count (not 16) ;))



Thanks for help.



Dominique Gratpain

Re: integers are displayed as Hex Oleg Starodumov
5/17/2006 12:00:00 AM

[quoted text, click to view]

This option should be available in the popup menu when you r-click
on Watch window.

Regards,
Oleg
[VC++ MVP http://www.debuginfo.com/]


Re: integers are displayed as Hex DG78
5/17/2006 3:00:18 PM
thanks for your answer, Oleg.

With the pop up menu (or context menu or right clic of the mouse), I have
not the Watch Window.
I have not also the Watch Window in the Debug menu (I saw there is here a
Watch windows after found in google).

I am tired of all these wasted of time because some choose in menu appears
only with certain condition.
And all is not explained.

Re: integers are displayed as Hex DG78
5/17/2006 3:20:08 PM
I found the solution :

1) Watch windows appears in Debug menu ONLY when we run the program and stop
it on a breakpoint.
I think it will be better if Watch windows appears in grey (not active) when
the program doesn't run and active when we are on a breakpoint. Like that,
we could see the Watch window exist.

2) and now, as you say, I go on a watch window then I right clic and ..
surprise .. I see here the Hexadecimal Display.
I think it is truly stupid to put this checkbox here and not in the debug
option as it is done in vb 1.1. Overmore this choose persist even after you
cut down your computer.

still thank, Oleg

Dominique Gratpain

AddThis Social Bookmark Button