Skip navigation

The WSH Script Debugger

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.

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish