Groups | Blog | Home
all groups > dotnet faqs > january 2004 >

dotnet faqs : Debugging in VB.net


Dave
1/29/2004 9:53:23 AM
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.

Gerry
1/29/2004 8:41:27 PM
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


[quoted text, click to view]

AddThis Social Bookmark Button