[英]Disable IE9 Javascript debugger when using Visual Studio 2010
有没有办法在使用IE9的Visual Studio时禁用javascript调试?
If you click the Tools (Alt+X)
button, then click the Internet Options
menu item. 如果单击“
Tools (Alt+X)
按钮,则单击“ Internet Options
菜单项。
In the Advanced
Tab, and in the Browsing
category: 在“
Advanced
选项卡和“ Browsing
类别中:
Check Disable script debugging (Internet Explorer)
检查
Disable script debugging (Internet Explorer)
This should disable the Javascript debugger 这应该禁用Javascript调试器
I tried the solution provided by Dotmister, but it didn't work on my Vista (x64), VS2010 and IE9. 我尝试了Dotmister提供的解决方案,但它在我的Vista(x64),VS2010和IE9上无效。
However I tried the following and it worked (source: http://www.visualstudiotutor.com/2011/02/disable-stopjavascript-debugging-in-visual-studio/ ) 但是我尝试了下面的工作(源代码: http : //www.visualstudiotutor.com/2011/02/disable-stopjavascript-debugging-in-visual-studio/ )
My debugger was very slow when I hit a breakpoint, partly because I had the Edit and Continue enabled (you can disable it in VS under Tools -> Options -> Debuggins -> Edit and Continue) and partly because I could not disable JavaScript debugging. 当我遇到断点时,我的调试器非常慢,部分是因为我启用了编辑并继续(你可以在工具 - >选项 - >调试 - >编辑和继续下在VS中禁用它),部分是因为我无法禁用JavaScript调试。
Now it is significantly faster. 现在它明显更快。
您还可以通过以下方式禁用VS中的所有脚本调试:reg add HKLM \\ SOFTWARE \\ Microsoft \\ VisualStudio \\ 9.0 \\ AD7Metrics \\ Engine {F200A7E7-DEA5-11D0-B854-00A0244A1DE2} / v ProgramProvider / d {4FF9DEF4-8922-4D02-9379 -3FFA64D1D639} / f
If the disable checkboxes in IE doesn't work for youm then in VS go to 如果IE中的禁用复选框对你不起作用,那么在VS中转到
Tools > Options > Debugging > Just-In-Time > Uncheck Script Option. 工具>选项>调试>即时>取消选中脚本选项。
This worked for me. 这对我有用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.