Visual-studio – VS2010 and IE10 Attaching the Script debugger to process iexplore.exe failed

internet-explorer-10visual studiovisual studio 2010windows-7-x64

So I am using Win7 x64 with VS2010 and have installed the IE10 Win7 Preview and ReSharper 6.1.

When I attempt to Start Debugging, I receive the following:

"Attaching the Script debugger to process '[1111] iexplore.exe' on
machine 'MINE' failed. A debugger is already attached."

I can click OK and look at attached debug sessions – [1111] is grayed out and there is another instance of iexplore.exe with my solution title. I can attach manually and it works fine.

I thought maybe since there were two iexplore.exe pids there would be something wrong, there are not two tabs or windows open and I disabled automatic crash recovery.

Tried this:
Attaching the Script debugger to process '[XXXX] IEXPLORE.EXE' on machine 'NAME' failed

Did not work.

Any ideas?

Best Answer

There is a simpler fix for the JavaScript debugging issue in IE10:

  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)

Related Topic