Flying bat in a marquee Flying bat in a marquee Flying bat in a marquee Flying bat in a marquee Flying bat in a marquee Flying bat in a marquee Flying bat in a marquee Flying bat in a marquee Flying bat in a marquee Flying bat in a marquee Flying bat in a marquee Flying bat in a marquee Flying bat in a marquee Flying bat in a marquee Flying bat in a marquee Flying bat in a marquee Flying bat in a marquee Flying bat in a marquee Flying bat in a marquee Flying bat in a marquee Flying bat in a marquee Flying bat in a marquee Flying bat in a marquee Flying bat in a marquee Flying bat in a marquee Flying bat in a marquee

Sunday, July 26, 2009

How do set Microsoft Script Editor as the default script debugger

Question

How do I select which debugger is triggered for JIT debugging when a script error occurs in Internet Explorer. Currently I have both Visual Studio and Microsoft Script Editor installed on my machine. However, only the Visual Studio debugger comes up and I prefer to use Microsoft Script Editor as the default script debugger.

Answer

The default script debugger can be set in the registry directly. To do so, follow these steps:

  • Click Start, Run and type regedit.exe
  • Navigate to the following branch:

HKEY_CLASSES_ROOT \ CLSID \ {834128A2-51F4-11D0-8F20-00805F2CD064} \ LocalServer32

  • Backup the branch by exporting it to a file
  • In the above key, double-click (default) and set its value data to:

C:\Program Files\Microsoft Script Debugger\msscrdbg.exe

  • Exit the Registry Editor.

No comments:

Post a Comment