Add Watch

Discussion in 'ASP .Net' started by et, Nov 13, 2004.

  1. et

    et Guest

    How do I add a watch, using asp.net in visual studio, to stop the program
    when a value in a drop down list changes? I can add a watch through Debug,
    windows, watch, but there doesn't seem to be a way to have it stop the
    program if and when the value changes, I never see it in the watch because
    the program ends before the value changes.

    I have stepped through my entire code, and at the very last second of the
    program a drop down list changes it's value, and I can't figure out where
    it's coming from. There is nothing in the code that is doing it, and I have
    written code in every event I can find to determine if that event is
    changing the code.
     
    et, Nov 13, 2004
    #1
    1. Advertising

  2. et

    Jos Guest

    et wrote:
    > How do I add a watch, using asp.net in visual studio, to stop the
    > program when a value in a drop down list changes? I can add a watch
    > through Debug, windows, watch, but there doesn't seem to be a way to
    > have it stop the program if and when the value changes, I never see
    > it in the watch because the program ends before the value changes.
    >
    > I have stepped through my entire code, and at the very last second of
    > the program a drop down list changes it's value, and I can't figure
    > out where it's coming from. There is nothing in the code that is
    > doing it, and I have written code in every event I can find to
    > determine if that event is changing the code.


    Right click on the breakpoint, choose "Breakpoint properties...",
    and add a "Condition".

    --

    Jos
     
    Jos, Nov 13, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Manfred Balik

    realazing a watch

    Manfred Balik, Nov 25, 2004, in forum: VHDL
    Replies:
    4
    Views:
    612
    Hal Murray
    Nov 26, 2004
  2. PJ

    Watch Http Request/Responses

    PJ, Aug 16, 2003, in forum: ASP .Net
    Replies:
    2
    Views:
    2,386
    Ken Cox [Microsoft MVP]
    Aug 16, 2003
  3. Brad
    Replies:
    8
    Views:
    402
  4. Kevin Spencer

    Words to Watch Out For

    Kevin Spencer, May 20, 2005, in forum: ASP .Net
    Replies:
    7
    Views:
    363
  5. tdavisjr

    Something to watch out for

    tdavisjr, Jan 3, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    446
    clintonG
    Jan 4, 2006
Loading...

Share This Page