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:
- When there are runtime errors (which will appear only in E3 logs); or
- 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.
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.