windows 7 下ie不能调试问题

来源:互联网 发布:欠淘宝贷款1年了没还上 编辑:程序博客网 时间:2024/05/22 00:21

 

 1

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 调试器组件。  主要是解决问题的发生与单步执行和命中断点。

2 在win7操作系统下,有时vs调试会出现 无法在web服务器上启动调试,你没有调试web服务器进程的权限***

在打开VS时右键 以管理员身份启动打开项目,有时可以解决