Debugging Scripts
You can use Microsoft® Script Debugger to test scripts written in Microsoft Visual Basic® Scripting Edition (VBScript) and Microsoft JScript, as well as applications written in Sun Microsystems® Java™ and run using the Microsoft Java Virtual Machine (VM). If you have installed an alternative scripting language that supports host-independent debugging, such as REXX or Perl, you can also debug scripts in that language.
You can use Microsoft Script Debugger to debug both client scripts and server scripts:
-
Client scripts consist of statements that appear on the HTML page. The script is executed by the Microsoft Internet Explorer either when the document is loaded, or in response to an event such as a button click.
-
Server scripts consist of statements embedded in an .asp file (Active Server Page). The script is executed by the Microsoft Internet Information Server (IIS) server when the page is requested by the browser but before the content is sent to the browser. Server scripts typically manage links between pages, process HTML forms, interact with databases, and so on.
Microsoft Script Debugger works the way many debuggers do, by allowing you to:
-
View the source code of the script you are debugging.
-
Control the pace of script execution.
-
View and change variable and property values.
-
View and control script flow.
See Also
Understanding Script Errors
Using the Script Debugger
© 1997 by Microsoft Corporation. All rights reserved.