Solved

Visual Studio 2012 - stop debugging when IE closed / close IE when debugging stopped

Posted on 2013-07-01
4
1,213 Views
Last Modified: 2013-08-04
I am running Windows 7 on two computers, one with VS2010 and the other with VS2012. On either computer, when I start a website in debug mode it will open an IE window.  On the VS2010 computer, if I stop debugging it will close the associated IE window and if I close the IE window, it will stop the debugger.  On the VS2012 computer, this does not work.  I want VS2012 to behave like VS2010 does.  I have found several comments that says to use 'Detach All' if I don't want one to impact the other, but I can't find any instructions on how to make this work.  I did find some that says that this is supposed to be the default, but they don't explain how to reset this.

Can someone please tell me how to fix this?

Thank you!
0
Comment
Question by:stevelaforge
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 23

Expert Comment

by:Roopesh Reddy
ID: 39294236
0
 

Author Comment

by:stevelaforge
ID: 39357794
I'm sorry that it took so long to get back...personal issues kept me from work.  This did not resolve the issue.
0
 

Accepted Solution

by:
stevelaforge earned 0 total points
ID: 39366944
I found the solution to this issue.  It appears to have to do with the installation of a later version of IE (10 in my case) after the installation of VS (2012 in my case).  I am not sure that it is limited to these versions, so I am qualifying my answer here.  I am also running on Windows 7, in case that matters.

The problem was that if I clck on the down-arrow located next to 'Internet Explorer' in the browser to debug with, I saw two 'Internet Explorer' entries, one of which was marked as the default.  Apparently this caused some confusion.  Now there may be two solutions, but the one that worked for me was to start the debugger but I selected Google Chrome for the browser this time, then stopped the debugger, came back and started it the debugger with IE again.  This time there was only one instance and everything worked just fine.

What I think may be another solution is to select the 'Browse with...' option under the list of browsers.  In this window, you have a choice to remove browsers from the list of options.  It may be that you could choose one here.  However, it isn't really clear what they are pointing at, which is why I chose the first option.
0
 

Author Closing Comment

by:stevelaforge
ID: 39380384
This solution worked perfectly for me.
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Open dialog with server side controls in it 3 56
SSIS GUID Variable 2 55
orderby list (from Json) 1 40
Data Analysis 7 57
It seems a simple enough task, yet I see repeated questions asking how to do it: how to pass data between two forms. In this article, I will show you the different mechanisms available for you to do just that. This article is directed towards the .N…
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question