Last Updated: February 25, 2016
·
1.238K
· acemtrace

Fixing "A debugger is already attached." issue on VS2010

If you stumble upon this message below like I always do when I start debugging on VS 2010:

"Attached the Script debugger to process '[xxxx] iexplore.exe' on machine '{MachineName}' failed. A debugger is already attached."

You can follow this: (made me breathe easier after a few times of frustration)

  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)

a disclaimer: not mine, found it [here] : http://stackoverflow.com/a/15168080/206725