Active Script Debug

The Active Script debugger enables you to detect and diagnose errors in embedded client-side scripts from a web page (*.htm, *.html or *.jsp) displayed by Microsoft(R) Internet Explorer. The Active Script debugger also hosts and allows you to debug stand-alone scripts with *.vbs or *.js file extensions. With the plugins, you can control the execution of the script by setting line breakpoints, suspending launches, stepping through your code, and examining and changing the contents of variables.

The Active Script debugger requires installation of the Microsoft(R) Windows(R) Script Debugger, which can be found at http://msdn.microsoft.com/library/default.asp (choose Web Development > Scripting > Downloads from the table of contents in the left-hand frame and then, in the resulting page, choose the link to the Microsoft Windows Script Debugger).

Known Problems and Workarounds

HTML Script Application

You may experience the following problems when trying to launch an HTML Script Application debug session:

You may correct these problems by doing the following:

You may experience the following problems during an HTML Script Application debug session:

You may correct these problems by doing the following:

Script Host Application

You may experience the following problem when trying to launch a Script Host Application debug session:

You may correct this problem by doing the following:

When trying to launch a script with a compile error, the debugger is not able to launch the script. A launch may be created in the Debug View, but there will be no thread or debug target under that launch. Make sure that you manually terminate and remove this unsuccessful launch. Otherwise, it may interfere with subsequent debug sessions.