VB6 or VB2005 Monitoring a variable

Hi

Is there a technique to break code at every point that a certain variable or textbox value
changes.
I know how to add a watch to a certain variable. Can you extend this to break at every point
that the variables value changes.

Thanks
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Éric MoreauConnect With a Mentor Senior .Net ConsultantCommented:
In VB.Net (2002-2003-2005) when I need to monitor a variable like that, I create a property and place a breakpoint in the Get method.

In VB6, that feature exists. You need to add your variable to the Watches window, edit the watch and select "break when value changes"
0
 
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAuthor Commented:
Hi

Thanks very much
Why does the thing you mentioned for vb6 not
exist for vb8
0
 
Éric MoreauSenior .Net ConsultantCommented:
>>Why does the thing you mentioned for vb6 not

I don't know. Probably related to the new compiler/debugger.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.