Debugging in VB.net

D

Dave

I have been using VB.net for some time and all of a sudden when writing and
using the debugger to view values that I am watching the values appear as I
believe memory addresses. Example: I have a varible named result as an
integer. Result is going to tell me how long a string is. Here is the line
of code. result = me.textbox.text.length. I put a line break on the line
after this in the code window to view the value of result and the feedback I
receive is &H1 instead of an integer value. This kind of feedback happens
while trying to view array indexes as well. I am at a loss here.
I can take my work to my other laptop at home and everything is fine. The
difference here is that my laptop at home runs XP Home and my laptop at work
runs XP Professional. Since I hammer my laptop pretty heavily at work I have
rebuilt it and reinstalled everything but I still get the same result.
Any ideas of solutions would be greatly appreciated.
Thanks in advance.
 
G

Gerry

What you may have inadvertanely done is click on the variable reference in
the watch window and changed the display to Hexadecimal.

Simply right click on the blank area in either the Watch, Autos or Locals
window and clear the checkbox for the Hexadecinal Display from the context
menu.

--
Gerry O'Brien, MCP, MCSD, MCDBA, i-Net+, A+, Network+
Visual Developer .NET MVP
CompuCollege School of Business
1070 St. George Boulevard
Moncton, N.B. E1E 4K7 (506) 856-5166
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top