Visual Studio Debugger Doesn't Stop When IE10 Closes

I am working on a VS2010 web application (using Windows 7) and usually in debug mode:
1. When I close the browser window, the debugger stops 2. When I stop the debugger, the browser window closes

Some time ago they stopped working. I recently upgraded IE9 to IE10 and I suspect this problem may be related to IE10. Any help?

+4
source share
2 answers

I just noticed that there are two instances of Internet Explorer in the Browse From menu of the web application, and when I tried to set one of them by default, the same instance was always installed by default. I think IE9 did not delete some registry data. So, when I browsed my application several times with other browsers, the second instance of Internet Explorer disappeared and my problem stopped playing.

Now when I start debugging my VS2010, the message "Attaching the Script debugger process" ... "to the machine" ... "failed. The debugger is already connected." In the task manager, I see two instances of IE - one x64 and one x86 ... I will see questions on this topic.

Hope my post helps someone else.

Thanks, Daniel, for your attention.

+2
source

I am using VS Ultimate 2012. Just tried and worked:

Open the browser drop-down list on the toolbar (button with a green triangle), click "Browse with ...". After a few seconds, a browser window will open. Select "Internet Explorer", which is NOT the default, and delete it. Close the window and try debugging.

If the second "Internet Explorer" is still trying to select a different browser, then select "Internet Explorer" again.

Hope this helps.

+7
source

Source: https://habr.com/ru/post/1483552/


All Articles