升级IE10后,VS调试弹窗 Attaching the Scriptdebugger to process '‘on machine '' failed.A debugger is already attached.

本机win7 32位,升级IE10后 使用vs2010 F5后 出现如下弹窗:

Attaching the Scriptdebugger to process '[9376] iexplore.exe' on machine 'DELL' failed.
A debuggeris already attached.
大致说 ,script脚本调试器无法附加,已经附加了一个debugger


网上找了下,很多人遇到这个问题 ,都是因为IE10 啊,damn windows updates……

however there is a fix:

  1. Close IE
  2. In elevated cmd prompt run this command: regsvr32.exe "%ProgramFiles(x86)%\Common Files\Microsoft Shared\VS7Debug\msdbg2.dll"

(or "%ProgramFiles% on a 32-bit OS)

1.关掉 IE10 和vs 2010

2.打开 cmd那可耐的小黑窗口,64位操作系统输入:regsvr32.exe "%ProgramFiles(x86)%\Common Files\Microsoft Shared\VS7Debug\msdbg2.dll"

3.如果是 32系统 ,那输入regsvr32.exe "%ProgramFiles%\Common Files\Microsoft Shared\VS7Debug\msdbg2.dll"

问题解决。

万恶的window update……

原文地址:https://www.cnblogs.com/buyixiaohan/p/3086431.html