Why is it at times (or maybe the project itself, IDK) when I hover the mouse over a variable it does not show the value beneath the cursor? Most of the time it does show the contents of a variable but then sometimes it does not. Any idea to this?
Printable View
Why is it at times (or maybe the project itself, IDK) when I hover the mouse over a variable it does not show the value beneath the cursor? Most of the time it does show the contents of a variable but then sometimes it does not. Any idea to this?
It's most likely a bug of the VB IDE. It happens to me too. Try selecting or highlighting the whole variable or expression...
Matt Curland gave this tip:
Quote:
View Right Side of Truncated String
You see trailing ellipses (...) when VB truncates either the expression or data portion of a data tip (the mouse-hover watch value you get while debugging). This is great if you want to see the left side of a long string value, but not quite as compelling if you care about the right side. Hold the control key down and rehover over the expression to force VB to truncate on the left instead of the right. VB truncates all instant watch strings at 251 characters, so you won’t see the end of very long strings.
Well the only way that I've found it shows the variable value when the mouse is over it is when you put a BreakPoint in the code when the app stops at that point you can hold your mouse over any variable and see its current value. You can step through the code by pressing F8 to check variables further down the code.