VS2010 and IE10 Attaching the Script debugger to process iexplore.exe failed
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?
Solution 1:
There is a simpler fix for the JavaScript debugging issue in IE10:
- Close IE
-
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)
Solution 2:
The IE10 upgrade resets a whole bunch of stuff. I followed 2 steps to fix this.
- In IE Advanced settings, under browsing remove the tick on "Disable script debugging (Internet Explorer)"
-
Running this in command prompt (with administrator rights): -
regsvr32.exe "%ProgramFiles(x86)%\Common Files\Microsoft Shared\VS7Debug\msdbg2.dll
The combination of these 2 and a browser restart of course fixed it for me.
I also agree, the marked solution above of un-installing is hardly a proper solution.
Solution 3:
I have exactly the same problem .. I found a temporary solution but I have to execute each time the same sequence is as follows.
- Click on the menu "Debug"
- Click on the "Window" menu
- Click on the menu "Processes"
- And right click on iexplorer.exe and "detach the process"
The problem is that every time I have to repeat this procedure every compilation of my project ...