安装IE8,搞的我VS2005 WebSite不能调试

IE8装了之后,VS2005的WebSite程序无法正常调试.偶尔又可以调试(最后才明白是IE没有打开,可以启动调试),弄的我很郁闷啊。
http://www.cnblogs.com/gccxiaochun/archive/2009/08/11/1543460.html
帮了大忙。
方法1.手动附加到进程, 比较麻烦,
方法2. 把所有IE窗口都关掉, 再点击启动调试(F5), 调试完之后自动关闭所有窗口, 这种方式更麻烦。解决办法如下:

1. 点击【开始】->【运行】 命令:regedit.
2. 定位到HKEY_LOCALMACHINE -> SOFTWARE -> Microsoft -> Internet Explorer -> Main
3. 在【右边区域】【右键】新建一个名称为TabProcGrowth的DWORD值, 数值数据设置为0.
此法好用,已经测试通过。

【LCIE
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. 】

posted on 2009-09-21 09:08  jdmei520  阅读(409)  评论(0编辑  收藏  举报

导航