Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Watch window problems with variable display

Status
Not open for further replies.

tfstom

Programmer
Sep 28, 2002
190
US
I find that when I am putting variables in my watch window that many times they will jump over about 10 spaces, so I can't see them anymore. If I select the variable and take out the variable it will move to the left, but as soon as I leave the window, it jumps back to having the 10 spaces in front of it.

This doesn't happen all the time, but when it does, I can't seem to stop it and most of my variables will do it.

Why does it do this?

It makes it very difficult to use when it does this.

I am using VB6.

Tom
 
That is strange, every time you call debug.print, it prints on a new line. What is you code causing this?

Brian

 
The immediate window is not a problem, just the watch window.

Tom
 
Hmm... After programming as long as I have, I have never used the watch window :) Sorry bout that....
 
How do you track your variables when you are tracing through your program if you don't use the Watch window?
 
I have only ever needed to print to the debug window. Appart from that I put in a break and when the execution is paused, I move the mouse over the variables. What they are set to pops up.
 
I do the same.

The problem is if you are paying attention to 6 or 7 variables that may not be on the screen where your break is, you have to go look for them to put the mouse over them. If you have them in the watch window, you can see things happening at each line.

Tom
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top