KB-15050: Activating Windows Script Debugger.

Question:

How can I activate Windows Script Debugger?

Solution:

Scripts can be debugged in E3 either in the server or in the Viewer. To do so, you must install the Microsoft Script Debugger and set 1 as the value of two keys on the REGEDIT:

HKEY_CURRENT_USER\Software\Microsoft\Windows Script\Settings\JITDebug;

– From E3 version 3.0 on, set the key HKEY_USERS\S-1-5-18\Software\Microsoft\Windows Script\Settings\JITDebug.

The debugger is activated in two different situations:

  1. When there are runtime errors (which will appear only in E3 logs); or
  2. When setting STOP command in a script (it forces a breakpoint when the script is executed).

In either situation, a window will pop up asking whether you wish to open the debugger (from a list of available debuggers); select one, and then click Yes.

It is also possible to open the debugger manually with the option Attach Process at Viewer or E3Run. To do so, go to Internet Explorer, and access Tools—Internet Options—Advanced (and then clean Browsing option)—Disable Script Debugging. Leave IE, then return to it, and access View—Script Debugger—Open.

Check the links below to download the Script Debugger:

For Windows 98 and Me -> Click here.

For Windows NT, 2000, 2003 and XP -> Click here.

Print Friendly, PDF & Email

Este artigo foi útil? Was this helpful?

Classificação média - Average rating 0 / 5. Count: 0

Leave a Reply

Your email address will not be published.Required fields are marked *