关于vs2005无法调试问题~~运行调试后失效! | 狂野铜匠

关于vs2005无法调试问题~~运行调试后失效!

时间:2011-3-4  |   0  |  标签:,

最近调试的时候总是发现,vs2005调试网页时,在IE网页打开后vs调试就自动关闭了,很让人头疼,Chrome 和FF都可以,不知

道是哪里问题。

今天终于受不了了,上网搜到了一个解决方法,试了试还行,分享给大家~~ 引用地址:

微软官方方案:

IE 8 has a feature called Loosely-Coupled Internet Explorer (LCIE) which results in IE running across multiple processes.
http://www.microsoft.com/windows/internet-explorer/beta/readiness/developers-existing.aspx#lcie

Older versions of the Visual Studio Debugger get confused by this and cannot figure out how to attach to the correct process.  You can work around this by disabling the process growth feature of LCIE.  Here's how:

  • 1)  Open RegEdit
  • 2)  Browse to HKEY_LOCALMACHINE -> SOFTWARE -> Microsoft -> Internet Explorer -> Main
  • 3)  Add a dword under this key called TabProcGrowth
  • 4)  Set TabProcGrowth to 0

Since you are running on Windows Server 2003, this is all you should need to do.  If you run into the same problem on Vista or newer, you will also need to turn off protected mode.

中文意思就是:

IE8中的LCIE功能会与VS调试器冲突,导致IE进程无法附加。因此设置LCIE为禁用即可。

  • 1、打开注册表,展开HKEY_LOCALMACHINE -> SOFTWARE -> Microsoft -> Internet Explorer -> Main项;
  • 2、添加一个dword键TabProcGrowth,设置键值为0。

然后就OK了~~





无觅相关文章插件,快速提升流量