Last post Jul 17, 2013 09:07 AM by John Federer
Mar 30, 2010 02:40 PM|mkamoski|LINK
How can one set VisualStudio to end debugging when the FireFox window closes?
This works for IE8 but not for FF3.6 now, using VisualStudio 2008 Standard on Windows XP Pro, all fully-patched.
I have set my default browser for VS debugging to FireFox, using >BrowseWith, >FireFox=Selected, >SetAsDefault.
That is fine, and FireFox is used for debugging by default, but it is a bit less than user-friendly.
For example, in IE, if I am running in debug mode, and I have a browser open with my web page in it, all is well, and if I close that IE window being debugged then the VisualStudio debugging also stops.
However, in FireFox, if I close the FireFox window being debugged, then the debugging in VisualStudio does not close.
Do you have any ideas?
(Sidebar -- Why don't I just use IE8? Well, recently, due to an unknown reason, IE started intermittently cannot connect to a page, any page, and then upon refresh in the browser the page loads. Really weird. It happens often enough, about every 5th page
load or more, so it slows me way down. I think it might be a network issues but I need to move on in parallel.)
-- Mark Kamoski
-- Mark Kamoski
Mar 30, 2010 02:54 PM|kalyan1052|LINK
I think it is only possible in IE.... No other browser can stop debug... I have tried previously many times without luck...
If anyone can do this please let me know...
Mar 30, 2010 03:21 PM|krokonoster|LINK
Whatever the reason, I'm always happy to see someone switching to FireFox.
I also use FF and got used to the minor annoyance. However you can try this:
Close any existing FF window and then launch your app in debug mode. Now exit it. Did Visual Studio drop out of run mode? It should have, because it saw the debugged process terminate. Try it again with a pre-existing FF window. Now it doesn't drop out of
run mode, because the process it attached to is still running. You can explicitly hit "Stop Debugging" at this point and it will drop out. Or you can close the pre-existing window too, and then VS will drop out of run mode.
(above copied from a blog posting....and being to lazy to fire up VS myself here)
Jul 17, 2013 09:07 AM|John Federer|LINK
How to stop visual studio 2010 after closing the IE9 browser anc vice versa;
I downgaded to IE9 from IE10 because of script debugger issue. But now I am facing the above issue!