最近使用把本本系统换成win7 旗舰版 32位, 由于很多项目是在 VS2005下作的,还是安装SV2005,首先装VS2005 的时候就有很多为问题,网上有关于 win下 安装VS2005的 解决办法 ,在这我就不做说明了,后来在调试代码时,断点无效,根本没有,查好很多自来哦,终于在微软官方找到了答案:
原文主要内容如下:
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
就是IE8的问题,需要在注册表的 HKEY_LOCALMACHINE -> SOFTWARE -> Microsoft -> Internet Explorer -> Main 下添加一个新项,属性为 dword 值 为 0 ,名字随便
然后重启VS ,ie8 .就OK了。
提醒:调试时候ie不要开。