IE8断点无法调试的问题

本文介绍了解决IE8浏览器在VS2005环境下使用C# ASP.NET进行开发时遇到的断点无法正常工作的调试问题。通过在注册表中设置TabProcGrowth值为0来禁用IE8的进程增长特性,从而让老版本的Visual Studio调试器能够正确地定位并调试程序。

关键词:IE8 VS2005 C# ASP.NET 断点 不能 无法调试 断点失效

解决:(原文)
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,再调试就搞定

我是在XP下把IE7升级到IE8,调试ASP.NET /C#程序。

 

vs2008+ie8调试和断点

Microsoft 发布了更新的 Microsoft Visual Studio 2008 SP1 调试器组件。  主要是解决问题的发生与单步执行和命中断点。

转载于:https://www.cnblogs.com/emanlee/archive/2010/02/10/1667227.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值