Results 1 to 4 of 4

Thread: [RESOLVED] Editing a web app in VS2013 while debugging

  1. #1

    Thread Starter
    Fanatic Member InvisibleDuncan's Avatar
    Join Date
    May 2001
    Location
    Eating jam.
    Posts
    819

    Resolved [RESOLVED] Editing a web app in VS2013 while debugging

    I'm building an MVC 4 website in VS2013, following a Pluralsight course for a bit of a refresher. On the course's video, the instructor is able to keep his website running in the browser (IE) while he makes changes to the code, then rebuilds the code and refreshes the browser to pick up his changes.

    I'm not able to do that. If I press "Stop" in the debugger (which is what he does), it closes the browser. If I press "Pause", it leaves the browser open and allows me to make changes, but when I then try to build or restart, it prompts me to stop debugging first. I can't proceed with the build without saying yes to that, which closes my browser.

    Any idea what I need to do differently? Edit and Continue is enabled, so it's not that.
    Indecisiveness is the key to flexibility.

    www.mangojacks.com

  2. #2

    Thread Starter
    Fanatic Member InvisibleDuncan's Avatar
    Join Date
    May 2001
    Location
    Eating jam.
    Posts
    819

    Re: Editing a web app in VS2013 while debugging

    Never mind - I've resolved it. I needed to turn Edit and Continue off.
    Indecisiveness is the key to flexibility.

    www.mangojacks.com

  3. #3
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: [RESOLVED] Editing a web app in VS2013 while debugging

    In similar situations I found that opening the browser yourself and navigating to the URL works well, as that browser is not "owned" by the debugging process.

    There should be an option somewhere to prevent the debugger starting a browser instance, but I can't remember where.


    edit: I was a bit too slow!

  4. #4

    Thread Starter
    Fanatic Member InvisibleDuncan's Avatar
    Join Date
    May 2001
    Location
    Eating jam.
    Posts
    819

    Re: [RESOLVED] Editing a web app in VS2013 while debugging

    Thanks, Si. The edit and continue setting was causing IIS Express to close each time I stopped debugging. Turning that off allowed IIS Express to remain open, so I could navigate to the localhost in the browser.

    Seems a little counterintuitive!
    Indecisiveness is the key to flexibility.

    www.mangojacks.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width