The WSH Script Debugger

The Windows Scripting Host (WSH) Debugger lets you perform most of the functions that you can perform with a full-featured debugger found in such development environments as Visual Basic (VB).

Michael Otey

November 30, 1998

1 Min Read
ITPro Today logo

The Windows Scripting Host (WSH) script debugger lets you perform most of the functions that you can perform with the full-featured debugger found in such development environments as Visual Basic (VB), Visual J++, and Visual C++. As Screen A shows, you can use the WSH script debugger to step through script statements (i.e., check a script line by line), set breakpoints, and display variable values in the Immediate window. However, the WSH script debugger differs from the full-featured debuggers in one important respect: You can't edit the code in the script and then continue the script's execution. You can make changes in the script only after the script has completed or the debugger has stopped the script. Clicking the Run key in the debugger resumes the script's execution beginning with the line following the Stop statement.

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like