Disable IE9 Javascript debugger when using Visual Studio 2010

牧云@^-^@ 提交于 2019-12-07 02:48:41

问题


Is there a way to disable javascript debugging when using Visual Studio with IE9?


回答1:


If you click the Tools (Alt+X) button, then click the Internet Options menu item.

In the Advanced Tab, and in the Browsing category:

Check Disable script debugging (Internet Explorer)

This should disable the Javascript debugger




回答2:


I tried the solution provided by Dotmister, but it didn't work on my Vista (x64), VS2010 and IE9.

However I tried the following and it worked (source: http://www.visualstudiotutor.com/2011/02/disable-stopjavascript-debugging-in-visual-studio/)

  1. Open the application Property page and select the Web tab
  2. Select “Start External Program” and set the path to iexplorer.exe
  3. Enter the URL in the Command line argument option
  4. Hit F5 to commence debugging.

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.

Now it is significantly faster.




回答3:


You can also disable all script debugging in VS via: reg add HKLM\SOFTWARE\Microsoft\VisualStudio\9.0\AD7Metrics\Engine{F200A7E7-DEA5-11D0-B854-00A0244A1DE2} /v ProgramProvider /d {4FF9DEF4-8922-4D02-9379-3FFA64D1D639} /f




回答4:


  1. Right click the web application and choose Properties Click Web tab
  2. on the left and choose “Don’t open page” radio button on the left
  3. panel Start Debugging (press F5)
  4. Open Internet Explorer and navigate the URL. { I just pinned that instance of IE to my taskbar ;-) }



回答5:


If the disable checkboxes in IE doesn't work for youm then in VS go to

Tools > Options > Debugging > Just-In-Time > Uncheck Script Option.

This worked for me.



来源:https://stackoverflow.com/questions/5381334/disable-ie9-javascript-debugger-when-using-visual-studio-2010

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!