AddWatch

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Vlad

    #1

    AddWatch

    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


  • Scott M.

    #2
    Re: AddWatch

    Use a Breakpoint. You can now create conditional breakpoints in VS.NET.


    "Vlad" <vovan.c@verizo n.net> wrote in message
    news:%23cZZwgxa DHA.1832@TK2MSF TNGP10.phx.gbl. ..[color=blue]
    > 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
    >
    >[/color]


    Comment

    Working...