Click here to Skip to main content
15,898,222 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am using Visual Studio 2005 professional Edition. I am developing window application project. In my project, I declare integer variable but while I check the code in break mode alphanumeric values are display in variable (mouse cursor put on variable name).
Code:
C#
for (int intRwCnt = 1; intRwCnt <=20; intRwCnt++)
 {
  // something write here
 }


In "intRwCnt" variable are display like
1 is 0x00000001<br />
.<br />
.<br />
.<br />
9 is 0x00000009<br />
10 is 0x0000000a<br />
11 is 0x0000000b<br />
.<br />
.<br />
.<br />
15 is 0x0000000f<br />
16 is 0x00000010<br />
.<br />
.<br />
.


My problem is, if I want to check "intRwCnt" variable's current value in break mode (inside for loop), I am unable to find it, otherwise no problem.

Note: I changed skin for visual studio IDE many times, after which I started getting the problem.
Posted
Updated 21-Jul-10 10:49am
v3
Comments
Dalek Dave 21-Jul-10 16:49pm    
Edited for a couple of minor spelling errors.

You've set it to display the numbers in hex. I don't know how you do that, but it's showing you numbers, just as base 16. You have to change the setting back, obviously.
 
Share this answer
 
 
Share this answer
 
Right-click on the Variable and uncheck "Hexadecimal Display"
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900