You can use Microsoft Script Debugger to execute (step through) individual lines in a script. You can then view and check the results of each script line.
If the script calls another procedure, you can step into the procedure. Alternatively, you can step over the procedure. In that case, the procedure is executed, and when it finishes, you are left on the line immediately following the call to that procedure.
To step through scripts
Server scripts: Refresh the document.
Note If you refresh a document in the browser, all breakpoints in client scripts are cleared.
The Script Debugger stops at the first breakpoint, displaying it in the editing window:
Command | Button | Action |
Step Into | Moves to the next script line. If the script calls another procedure, Step Into proceeds to that procedure and allows you to step through its lines as well. | |
Step Over | Skips called procedures. The procedure is executed, but the debugger does not step through its individual lines. Instead, the debugger moves to the next line in the current procedure after executing the called procedure. |
The debugger moves to the next statement following the procedure.
See Also
© 1997 by Microsoft Corporation. All rights reserved.