외국 블로그를 참고하였습니다.
Upgrading to IE8 breaks debugging with Visual Studio 2005
Since Microsoft published IE8 as a Windows Update and my boss said he upgraded to it, I figured it was safe to upgrade to it as well. I’ve been enjoying the changes for a couple days now, but when I attempted to debug an ASP.NET application with Visual Studio 2005, it would no longer stop at a breakpoint. Pretty frustrating if you ask me. I’ve found a few articles online describing problems, most of which I haven’t encountered yet. You may want to implement all these workarounds.
- Some VS2005 and VS2008 Wizards Pop Up Script Error
- VS 2005 Debugger crashing with IE 8 Beta 2
- Why can’t I debug from Visual Studio 2005 after installing IE8?
- Script debugging broken in VS 2005 after installing IE8
- Debugging with VS 2005 and IE 8
The problem I was having appears to be related to how IE8 uses multiple processes. Apparently VS 2005 doesn’t know which process to attach to. Here are three solutions:
- Don’t have IE8 running at the time you want to debug. This worked for me.
- Modify the registry as described in the second link above. This worked for me as well. Here are the steps:
- Open RegEdit
- Browse to
HKEY_LOCAL_MACHINE
->SOFTWARE
->Microsoft
->Internet Explorer
->Main
- Add a DWORD value called
TabProcGrowth
with a value of 0 - Turn off protected mode browsing in IE (Security page of Internet Options) if you are running on Vista or newer.
- Uninstall IE8 to revert back to IE7. I don’t really want to do this though. I’ve grown particularly fond of a few of the new features in IE8, such as previous session restore (although I wish it would allow me to restore more than just the last session) and improvements in search.
I don’t know if this is a problem with VS 2008, but some of the
articles seem to imply it only applies to VS 2005. Maybe it’s time to
upgrade Visual Studio
현재 제가 플젝하고 있는곳에서는 IE를 전부 6으로 다운그레이드(?) 했습니다.
윗선에서의 강력한 압박도 있었지만서도 웹표준 어쩌고 하면서 css로 디자인을
했는데 css단의 오류를 IE7, 8에서는 알아서 인식(?)을 하고 올바르게 보여주는 문제(?)가
있더군요.. 대신 IE6에서는 충실하게 오류를 뿌려주어서 어쩔수 없이 다운그레이드했습니다.
만...그런데 적다 보니 글 내용과 다른 이상한 리플이 되었네요.. 아.. 죄송.. ;;
답글