Debug.Assert(): missing MsgBox (VS.NET 2003, C#)

Discussion in 'ASP .Net' started by Mark Newby, Apr 29, 2005.

  1. Mark Newby

    Mark Newby Guest

    when i try to use (in a web form)

    System.Diagnostics.Debug.Assert(false, "IT IS FALSE");

    i never get the MsgBox-style dialog box displaying when the assertion
    evals as false when run in debug mode. the project is located on the
    local pc (xp pro, sp2) and run in debug mode from local pc, so the
    dialog box should appear on local pc, right?

    the VS.NET Output Window shows correct "IT IS FALSE" output, etc.

    any ideas?

    mark (studying for 70-315)
     
    Mark Newby, Apr 29, 2005
    #1
    1. Advertising

  2. Mark Newby

    G.V. Guest

    http://www.c-sharpcorner.com/Code/2003/Dec/DebugAssertInASPDotNet.asp

    G.V.

    "Mark Newby" <> wrote in message
    news:%...
    : when i try to use (in a web form)
    :
    : System.Diagnostics.Debug.Assert(false, "IT IS FALSE");
    :
    : i never get the MsgBox-style dialog box displaying when the assertion
    : evals as false when run in debug mode. the project is located on the
    : local pc (xp pro, sp2) and run in debug mode from local pc, so the
    : dialog box should appear on local pc, right?
    :
    : the VS.NET Output Window shows correct "IT IS FALSE" output, etc.
    :
    : any ideas?
    :
    : mark (studying for 70-315)
     
    G.V., May 3, 2005
    #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. JollyK
    Replies:
    0
    Views:
    562
    JollyK
    Feb 9, 2004
  2. Robert Brewer
    Replies:
    1
    Views:
    518
    bsmith
    Nov 7, 2004
  3. Thomas Guettler

    assert 0, "foo" vs. assert(0, "foo")

    Thomas Guettler, Feb 23, 2005, in forum: Python
    Replies:
    3
    Views:
    2,563
    Carl Banks
    Feb 23, 2005
  4. Alex Vinokur

    assert(x) and '#define ASSERT(x) assert(x)'

    Alex Vinokur, Nov 25, 2004, in forum: C Programming
    Replies:
    5
    Views:
    957
    Keith Thompson
    Nov 25, 2004
  5. ImpalerCore

    To assert or not to assert...

    ImpalerCore, Apr 27, 2010, in forum: C Programming
    Replies:
    79
    Views:
    1,753
    Richard Bos
    May 17, 2010
Loading...

Share This Page