AddWatch

  • Thread starter Thread starter Vlad
  • Start date Start date
V

Vlad

In VB6 I used to use AddWatch if I needed for instance to break if Text
property of the text box is changed to "Hello, World".
In VB.Net I'd like to do the same, but cannot find the way to do it.
AddWatch window doesn't give me the choice to select condition. I can set
condition on BreakPoint in the BreakPoint window only.
So, what do I have to do in order to catch the change of Text property of
the textbox or ActiveRow in Combo and so on?
Thank you
Vlad
 
Thank you
But how do I use it if I do not know which procedure changes the value in
the control I'm watching. I have loops through all controls on the form
(like For Each ctl... where ctl declared as control) and I also have some
procedures which are using AutoEdit property of the control (if this
property set to True procedure might change the active row of the combo when
a new text value is assigned to the Combo).
So If I knew where the value I'm interested in is changed I wouldn't need to
use Watch window. Unfortunately I do not know when and by what procedure the
active row in a combo is changed.
As I said in VB6 I could find it easy by using AddWatch with conditional
break. How can I achieve the same result in VB.Net?
Thank you
Vlad
 
Back
Top