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?
The IE10 upgrade resets a whole bunch of stuff. I followed 2 steps to fix this.
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.
Try to reset your IE settings and then uncheck "Disable Script Debugger (internet Explorer)" under Tools->Internet Options->Advanced and reset your computer.
I have exactly the same problem .. I found a temporary solution but I have to execute each time the same sequence is as follows.
The problem is that every time I have to repeat this procedure every compilation of my project ...
Someone suggested that running this in an elevated command prompt would do the trick:
I tried it and it reported the dll was not found. I searched for the msdbg2.dll and it was not found. It is, apparently, hidden.
I ran:
and it worked.
This was on Windows 7, 64 bit, VS2010 Premium
I have had the same problem since updating to IE 10 on a Win 7 Pro machine running VS 2010 SP1.
I tried numerous suggestions, but none worked. I finally fixed it by downgrading to IE 9, to wit:
Debugging works again.
I have VS2010 and VS2012 on the PC. It was ASP.NET project and it didn't work for JS debugging. I try both version results was the same. Everything I did was out of success:
"%ProgramFiles(x86)%\Common Files\Microsoft Shared\VS7Debug\msdbg2.dll"
- didn't helpFinally, I have installed "Remote Tools for Visual Studio 2012 Update" and "VS2012 Update 4". I'm not sure what is fixed issue but it gone. And VS2010 and VS2012 started debugging JavaScript. Therefore, it seems some components were corrupted. Today, I think, best choice to fix this should be re-install IE, I mean downgrade it and install again, further you can install Update 4 for VS2012.
Please note: