Need Help with VBScript? Try Vbsedit!

An intrinsic global object that can send output to a script debugger, such as the Microsoft Script Debugger.

Remarks

The Debug object cannot be created directly, but it is always available for use.

The Write and WriteLine methods of the Debug object display strings in the Immediate window of the Microsoft Script Debugger at run time. If the script is not being debugged, the methods have no effect.

This example uses the Write method to display the value of the variable in the Immediate window of the Microsoft Script Debugger.

NoteNote

To run this example, you must have a script debugger installed and the script must run in debug mode. For more information, search MSDN (http://msdn.microsoft.com) for the title "Introducing Microsoft Script Debugger".

 CopyCode imageCopy Code
Dim counter
counter = 42
Debug.Write "The value of counter is " & counter

Properties and Methods

Requirements

See Also


Need Help with VBScript? Download VbsEdit!


VbsEdit now supports .vbs, .js, .wsf and .hta scripts.
The evaluation version never expires.




Home  

Copyright © 2001-2018 adersοft