For Programmers: Free Programming Magazines  


Home > Archive > Visual Basic > April 2006 > Debug, cannot see the value of the Variable









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Debug, cannot see the value of the Variable
hon123456

2006-04-26, 3:56 am

Dear all,

Before, when VB break on a breakpoint, I can see the value
of variables with mouse over it. But now, when break, mouse over the
variable does show the value of variable, I need to print the variable
in Immediate window. What happened to VB? And what can I do to let the
variable show its
value again when mouse over the variable?

Thanks.

Mike Scirocco

2006-04-26, 3:56 am

hon123456 wrote:

> Dear all,
>
> Before, when VB break on a breakpoint, I can see the value
> of variables with mouse over it. But now, when break, mouse over the
> variable does show the value of variable, I need to print the variable
> in Immediate window. What happened to VB? And what can I do to let the
> variable show its
> value again when mouse over the variable?
>
> Thanks.


You can always fall back to typing this in the Immediate window to see
the value in scope variables:

?variablename [ENTER]

Mike
Ivar

2006-04-26, 3:56 am

Goto Tools/Options Editor Tab. See if there is a tick in the box for Auto
Data Tips.

Ivar

"hon123456" <peterhon321@yahoo.com.hk> wrote in message
news:1146024732.345935.128910@v46g2000cwv.googlegroups.com...
> Dear all,
>
> Before, when VB break on a breakpoint, I can see the value
> of variables with mouse over it. But now, when break, mouse over the
> variable does show the value of variable, I need to print the variable
> in Immediate window. What happened to VB? And what can I do to let the
> variable show its
> value again when mouse over the variable?
>
> Thanks.
>



Ralph

2006-04-26, 7:56 am


"hon123456" <peterhon321@yahoo.com.hk> wrote in message
news:1146024732.345935.128910@v46g2000cwv.googlegroups.com...
> Dear all,
>
> Before, when VB break on a breakpoint, I can see the value
> of variables with mouse over it. But now, when break, mouse over the
> variable does show the value of variable, I need to print the variable
> in Immediate window. What happened to VB? And what can I do to let the
> variable show its
> value again when mouse over the variable?
>
> Thanks.
>


Assuming you have not somehow turned off the option as Ivar has suggested -
losing Intellisense or other features in the editor is often sure a sign
that the VB parser/runtime is becoming and you have syntax or
referencing errors in your program.

I noted in a previous post that you were apparently wanting to 'skip'
errors. This is a sure way to confuse the parser/runtime. Keep your code
error-free as you develop. Do frequent compiles [Ctrl-F5] as Mr. French as
suggested.

-ralph


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com