Automatic debug ending on page close

Last post 11-11-2009 4:26 AM by Nowall. 3 replies.

Sort Posts:

  • Automatic debug ending on page close

    11-07-2009, 9:37 AM
    • Member
      point Member
    • jeffcia
    • Member since 11-01-2009, 12:22 AM
    • Posts 11

    I was just wondering if there is a way to configure VWD express to automatically stop debugging when you close the page (using the built-in development server).

    I did not see that as one of the options.

    thanks

  • Re: Automatic debug ending on page close

    11-07-2009, 10:19 AM

    I'm under the impression that if you open the page in debug mode (i.e. using Start Debugging), then it will do that automatically.  In my quick test just now, I have confirmed this behavior.

  • Re: Automatic debug ending on page close

    11-07-2009, 10:26 AM
    • Member
      point Member
    • jeffcia
    • Member since 11-01-2009, 12:22 AM
    • Posts 11

    Does anybody know if there is an option for this?  On mine, the debugger needs to be stopped even after I close the page.

    thanks


  • Re: Automatic debug ending on page close

    11-11-2009, 4:26 AM
    Answer
    • Participant
      844 point Participant
    • Nowall
    • Member since 12-19-2007, 4:53 AM
    • Posts 108

    http://forums.asp.net/p/1213389/2518956.aspx


    "Closing browser does not stop debugging - this is by design. Please remember that Web application is a DLL that is running inside server process. Stopping this process effectively kills Web server. This may not be desirable if several people are using IIS. If you do want to terminate Web server process, locate Debug.TerminateAll command in Tools | Customize | Commands, add it to Debug menu and use it instead of Stop Debugging."

    Please make the reply as answer if it helps!
Page 1 of 1 (4 items)