How Do I Shut Off Visual Studio 2008 Script Debugging

internet explorerscript-debuggingvisual-studio-2008

If I launch an ASP.NET project, using Visual Studio 2008 and Internet Explorer, Visual Studio starts script debugging. I get a Script Documents node with a child node of Windows Internet Explorer and Default.aspx with a bazillion anonymous code nodes underneath.

I'm having difficulty shutting this off, other than telling VS to launch the app in FireFox. I've searched around and found the solution to shut off script debugging in Internet Explorer, but this changed nothing for me.

Has any one found a solution?

Best Answer

Disable all script debugging:

  • Open a new command prompt (start->run, cmd.exe). If you are on a 64-bit computer this needs to be a 32-bit prompt (start->run, c:\windows\syswow64\cmd.exe)
  • 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 you are using Visual Web Developer Express, replace 'VisualStudio' with 'VWDExpress':

  • reg add HKLM\SOFTWARE\Microsoft\VWDExpress\9.0\AD7Metrics\Engine\{F200A7E7-DEA5-11D0-B854-00A0244A1DE2} /v ProgramProvider /d {4FF9DEF4-8922-4D02-9379-3FFA64D1D639} /f

If you want to restore your computer so that you can debug scripts again:

  • reg add HKLM\SOFTWARE\Microsoft\VisualStudio\9.0\AD7Metrics\Engine\{F200A7E7-DEA5-11D0-B854-00A0244A1DE2} /v ProgramProvider /d {170EC3FC-4E80-40AB-A85A-55900C7C70DE} /f