IE 8 调试

来源:互联网 发布:阿里云推荐码bg19cx 编辑:程序博客网 时间:2024/05/22 00:43

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


简单来说,在“HKEY_LOCALMACHINE -> SOFTWARE -> Microsoft -> Internet Explorer -> Main”下添,创建一个DWORD类型键,名称是TabProcGrowth,值为0,再调试就搞定

 

注:这篇文章在网上被转贴了很多回,实在没时间找真正的出处。只能注明不是我自己的创作。