Starting Microsoft Script Debugger

You can make Microsoft Script Debugger available in different ways, depending on how it will be used.

If you are debugging scripts on the client, make sure that you have Internet Explorer and the Script Debugger installed properly. You must also enable script debugging in Internet Explorer. For details, see the Internet Explorer documentation.

If you are debugging scripts on the server, you must explicitly enable debugging for each ASP-based application you want to use the debugger with, or you cannot attach the Script Debugger to a document. For information about client and server scripts, see Debugging Scripts. For details about enabling and disabling the debugger for ASP applications on the server, see "Debugging ASP Scripts" in the IIS documentation.

The Script Debugger can be started in these ways:

If the error is in a server script and debugging is enabled for the ASP-based application, the server opens the Script Debugger automatically and displays an error message, as shown in the following illustration:

Note Debugging scripts in Global.asa files works slightly differently. For details, see Debugging a Global.asa File.

After you have started the Script Debugger, you set one or more breakpoints, return to the document in Internet Explorer, and perform an action. For more information, see Setting Breakpoints.

See Also

Debugging Java Applications

Executing Script Commands

Stepping Through Scripts

Viewing and Changing Values

Viewing the Call Stack


© 1997 by Microsoft Corporation. All rights reserved.