Microsoft Script Debugger
   HOME

TheInfoList



OR:

Microsoft Script Debugger is relatively minimal
debugger A debugger or debugging tool is a computer program used to test and debug other programs (the "target" program). The main use of a debugger is to run the target program under controlled conditions that permit the programmer to track its executi ...
for
Windows Script Host The Microsoft Windows Script Host (WSH) (formerly named Windows Scripting Host) is an automation technology for Microsoft Windows operating systems that provides scripting abilities comparable to batch files, but with a wider range of supported fe ...
-supported scripting languages, such as
VBScript VBScript (''"Microsoft Visual Basic Scripting Edition"'') is an Active Scripting language developed by Microsoft that is modeled on Visual Basic. It allows Microsoft Windows system administrators to generate powerful tools for managing computers ...
and
JScript JScript is Microsoft's legacy dialect of the ECMAScript standard that is used in Microsoft's Internet Explorer 11 and older. JScript is implemented as an Active Scripting engine. This means that it can be "plugged in" to OLE Automation applic ...
. Its user interface allows the user to set
breakpoint In software development, a breakpoint is an intentional stopping or pausing place in a program, put in place for debugging purposes. It is also sometimes simply referred to as a pause. More generally, a breakpoint is a means of acquiring know ...
s and/or step through execution of script code line by line, and examine values of variables and properties after any step. In effect, it provides a way for developers to see script code behavior as it runs, thus eliminating much of the guess-work when things do not quite work as intended. Microsoft considers it to be deprecated. Also,
Internet Explorer 8 Windows Internet Explorer 8 (IE8) is a web browser for Windows. It was released by Microsoft on March 19, 2009, as the eighth version of Internet Explorer and the successor to Internet Explorer 7. It was the default browser in Windows 7 (later def ...
comes with a different, tightly integrated JScript debugger part of the
Internet Explorer Developer Tools Internet Explorer Developer Tools, also known as the F12 Developer Tools in Windows 10, and formerly known as Internet Explorer Developer Toolbar, is a web development tool built into Microsoft Internet Explorer and Microsoft Edge that aids in ...
.


Features

According to Microsoft, the Script Debugger provides these traditional debugging features: * Ability to set and clear breakpoints. * Ability to step through and over procedures. * Ability to display and change the values of variables and properties. * Ability to evaluate expressions. * Ability to view the call stack, and navigate to any currently loaded procedure. Additionally, it can open and edit HTML pages, and it supports script colorization for improved readability.


Limitations

The debugger has several limitations, including the following:Alternative web page
/ref> * The line indicator may be incorrect when stepping through inline JScript or debugging a framed document. * When debugging documents open in Internet Explorer, only one can be debugged at a time. * Commands typed in the Command window have no effect unless the user is in break mode. * A breakpoint immediately after a Document.Write is ignored. * Entering a Document.Write command while debugging, or refreshing a document in Internet Explorer while debugging it, can cause hangs or other unexpected behavior. * Unlike in other debuggers, there is no Watch window for monitoring variables; they must be checked via manual commands. * Unlike in other debuggers, breakpoints can't be set by clicking in the left margin; they must be set via keypress or menu.


Usage

After installation, new options can be found in Internet Explorer's ''Script Debugger'' menu, which gets added in the ''View'' menu. Debugging can optionally be turned off from the ''Advanced'' tab in the ''Internet Options'' dialog.


See also

* Microsoft Script Editor *
Internet Explorer Developer Tools Internet Explorer Developer Tools, also known as the F12 Developer Tools in Windows 10, and formerly known as Internet Explorer Developer Toolbar, is a web development tool built into Microsoft Internet Explorer and Microsoft Edge that aids in ...


References

{{Microsoft development tools Debuggers Script Debugger