Elipse Knowledgebase



KB-15050: Activating Windows Script Debugger

Question:

How can I activate Windows Script Debugger?

Solution:

Scripts can be debugged in E3 both in the server and in the Viewer. To do so, you must install the Microsoft Script Debugger and enable “Just-in-time Debugger” by setting 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 click on Yes.

It is also possible to open the debugger manually (in Internet Explorer, go to Tools—Internet Options—Advanced (and then clean Browsing option)—Disable Script Debugging. Leave IE, then return to it, and access View—Script Debugger—Open. Finally, click on “Attach Process” to Viewer or E3Run.


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.


Related Articles

No related articles were found.

Attachments

No attachments were found.

Visitor Comments

No visitor comments posted. Post a comment

Post Comment for "KB-15050: Activating Windows Script Debugger"

To post a comment for this article, simply complete the form below. Fields marked with an asterisk are required.

   Name:
   Email:
* Comment:
* Enter the code below:

 

Article Details

Last Updated
23rd of July, 2010

Autor
Pudi, Ricardo Meurer

Would you like to...

Print this page  Print this page

Email this page  Email this page

Post a comment  Post a comment

 Subscribe me

Subscribe me  Add to favorites

Remove Highlighting Remove Highlighting

Edit this Article

Quick Edit

Export to PDF


User Opinions

No users have voted.

How would you rate this answer?




Thank you for rating this answer.

Continue