打开注册表编辑器(regedit),
Visual Studio 2008修改方法:把HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\AddIns\VMDebugger.Connect目录下把LoadBehavior项改为0
Visual Studio 2010修改方法:把HKEY_CURRENT_USER\SOFTWARE\Microsoft\VisualStudio\10.0_Config\AddIns\VMDebugger.Connect目录下把LoadBehavior项改为0 ,把HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\10.0\AddIns\VMDebugger.Connect目录下把LoadBehavior项改为0