Debugging Active Script
The Active Script debugger enables you to detect and diagnose errors in code that contains Active Script (such as client-side JavaScript) or Active Script objects. With the debugger, you can control the execution of Active Script by setting line breakpoints, suspending launches, stepping through your code, and examining and changing the contents of variables.
With the Active Script debugger, you can debug the following file types:
- Script:
JavaScript, or files with extension .js.
- VisualBasic script, or files with extension .vbs.
- HTML files ( .htm or .html) with the following types of embedded script:
- JavaScript
- VisualBasic script
- JSP files ( .jsp) with the following types of embedded script:
- JavaScript
- VisualBasic script
Note:
- The Active Script debugger requires installation of the Microsoft Windows Script Debugger, which can be found at...
http://msdn.microsoft.com/library/default.aspChoose...
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).
At the Microsoft Windows Script Debugger download page, ensure that you link to the download that is appropriate for the version of Windows that you are running.
- The Active Script debugger only supports HTML with embedded script that is running in Microsoft Internet Explorer with script debugging enabled.
- If you are debugging a file that contains an Active Script object that is handled by a specific application, that application must be installed on your workstation.
Related concepts
Breakpoints
Related tasks
Editing and viewing source while debugging
Starting a debug session