VS2010和IE10将脚本调试器附加到进程iexplore.exe失败 [英] VS2010 and IE10 Attaching the Script debugger to process iexplore.exe failed
问题描述
因此,我将Win7 x64与VS2010一起使用,并安装了IE10 Win7 Preview和ReSharper 6.1.
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:
附加脚本调试器以处理'[1111] iexplore.exe" 机器我的"失败.调试器已连接."
"Attaching the Script debugger to process '[1111] iexplore.exe' on machine 'MINE' failed. A debugger is already attached."
我可以单击确定",然后查看附加的调试会话-[1111]呈灰色显示,并且还有一个带有我的解决方案标题的iexplore.exe实例.我可以手动附加它,效果很好.
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.
我想也许是因为有两个iexplore.exe pid会出问题,没有两个选项卡或窗口打开,并且我禁用了自动崩溃恢复.
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.
对此进行了尝试: 附加脚本调试器以处理'[ XXXX]机器"NAME"上的IEXPLORE.EXE"失败
没有工作.
有什么想法吗?
推荐答案
对于IE10中的JavaScript调试问题,有一个更简单的修复程序:
There is a simpler fix for the JavaScript debugging issue in IE10:
- 关闭IE
-
在提升的cmd提示符下运行以下命令:
- Close IE
In elevated cmd prompt run this command:
regsvr32.exe "%ProgramFiles(x86)%\Common Files\Microsoft Shared\VS7Debug\msdbg2.dll"
(或在32位操作系统上为%ProgramFiles%
)
(or %ProgramFiles%
on a 32-bit OS)
这篇关于VS2010和IE10将脚本调试器附加到进程iexplore.exe失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!