Solved

VB6 or VB2005 Monitoring a variable

Posted on 2007-11-23
3
223 Views
Last Modified: 2013-12-25
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
0
Comment
Question by:murbro
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 500 total points
ID: 20338660
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
 

Author Comment

by:murbro
ID: 20344997
Hi

Thanks very much
Why does the thing you mentioned for vb6 not
exist for vb8
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 20345781
>>Why does the thing you mentioned for vb6 not

I don't know. Probably related to the new compiler/debugger.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
VB.Net SQL Query 2 Tables Different Databases 3 61
How to set focus on a dynamic control 18 52
Data Analysis 7 59
.NET XML to Dictionary - XML has repeating node names 8 28
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question