在Win7下不能使用Vs2005调试功能的解决方法

本文介绍了如何解决在使用较旧版本Visual Studio调试IE8时遇到的问题。通过禁用IE8的Loosely-Coupled Internet Explorer (LCIE)进程增长功能,可以避免调试器无法正确附加到目标进程的情况。此外,对于Vista及更高版本的操作系统,还需要关闭保护模式。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

原文主要内容如下:

Well, 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. 

 

To overcome this issue, you need to disable the process growth feature of LCIE by follow the below steps:

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

 If you run into the same problem on Vista or newer, you will also need to turn off protected mode.

有兴趣的朋友可以查看原文,链接地址如下:

http://weblogs.asp.net/abdullaabdelhaq/archive/2009/06/01/VS-Debug-Problem-with-IE8.aspx

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值