Why does VS2005 stop debugging on its own?

Last post 06-18-2009 8:49 PM by tim314. 5 replies.

Sort Posts:

  • Why does VS2005 stop debugging on its own?

    06-18-2009, 1:27 PM
    • Member
      1 point Member
    • tim314
    • Member since 06-18-2009, 1:20 PM
    • Posts 4

    I am using Visual Studio 2005, working on a Visual C# Asp.Net AJAX-enabled Web Application.

    When I  am in debug mode and paused at a breakpoint, after a while the program just exits debug mode on its own, exactly as if I had clicked "Stop Debugging".  But I didn't click it!

    This is very annoying, because it means that I have to restart my program and run it back to the same breakpoint all over again to continue what I was doing.

    Is there any way to turn this behavior off?

  • Re: Why does VS2005 stop debugging on its own?

    06-18-2009, 1:50 PM
    Answer
    • Star
      9,731 point Star
    • chintanpshah
    • Member since 11-19-2008, 5:39 AM
    • Ahmedabad
    • Posts 1,754

    Go to IIS.

    Click on Application Pools on right side pane.

    Right Click on the Application Pool under which you Application is running.

    Select Advanced Settings and Turn of Poling (Set to False).

    Hope this helps...

    Don't forget to mark as answer, if it helps
  • Re: Why does VS2005 stop debugging on its own?

    06-18-2009, 2:56 PM
    Answer
    • Member
      1 point Member
    • tim314
    • Member since 06-18-2009, 1:20 PM
    • Posts 4

    Thanks.  I basically did what you said, although it turns out I can just set "Ping Enabled" to false.

  • Re: Why does VS2005 stop debugging on its own?

    06-18-2009, 4:05 PM
    • Star
      9,731 point Star
    • chintanpshah
    • Member since 11-19-2008, 5:39 AM
    • Ahmedabad
    • Posts 1,754
    This will now allow you to debug the application for infinite time period.
    Hope this helps...

    Don't forget to mark as answer, if it helps
  • Re: Why does VS2005 stop debugging on its own?

    06-18-2009, 5:51 PM
    • Member
      1 point Member
    • tim314
    • Member since 06-18-2009, 1:20 PM
    • Posts 4

    You sure?  Before this Debug mode would end if I stayed at a breakpoint for 90 seconds.  Now that I set "Ping Enabled" to false, it let me sit at a breakpoint for over half an hour.

  • Re: Why does VS2005 stop debugging on its own?

    06-18-2009, 8:49 PM
    • Member
      1 point Member
    • tim314
    • Member since 06-18-2009, 1:20 PM
    • Posts 4

     Oops, I thought you said "this will not allow".  My mistake.

Page 1 of 1 (6 items)