Microsoft Script Debugger

Microsoft Script Debugger

Microsoft Script Debugger is relatively minimal debugger for Windows Script Host-supported scripting languages, such as VBScript and JScript. Its user interface allows the user to set breakpoints 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 don't quite work as intended.

Microsoft considers it to be deprecated in favor of the more sophisticated Microsoft Script Editor (MSE.EXE),[citation needed][1] an optional tool included in Microsoft Office 2000[2] through Office 2003.[3] Also, Internet Explorer 8 comes with a different, tightly integrated JScript debugger part of the Internet Explorer Developer Tools.[4]

Contents

Features

According to Microsoft, the Script Debugger provides these traditional debugging features:[5]

  • 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.[5]

Limitations

The debugger has several limitations, including the following:[6]

  • 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

External links

References

  1. ^ The download details page indicates Script Debugger is deprecated, but doesn't say in favor of what. It could be MSE, but it could also be Visual Studio.
  2. ^ "DLL Help Database info on MSE.EXE version 6.1.83.92". Microsoft. http://support.microsoft.com/dllhelp/default.aspx?l=55&fid=113784. Retrieved 2009-09-08. 
  3. ^ "2007 Microsoft Office System Known Issues/ReadMe". Microsoft. http://office.microsoft.com/en-us/products/FX101633871033.aspx. Retrieved 2009-09-08. "Excel 2007 Question or Issue: Microsoft Script Editor is no longer available. Answer: MSE will no longer be supported in Excel 2007." 
  4. ^ "Discovering Internet Explorer Developer Tools". Microsoft. http://msdn.microsoft.com/en-us/library/dd565628%28VS.85%29.aspx. Retrieved 2009-08-08. 
  5. ^ a b "Introduction to Microsoft Script Debugger for Internet Explorer". Microsoft. http://msdn2.microsoft.com/en-us/library/ms532989.aspx. Retrieved 2009-09-08. 
  6. ^ "Contents of Script Debugger Release Notes". Microsoft. June 23, 2005. http://support.microsoft.com/kb/230305. Retrieved 2009-09-08. 

Wikimedia Foundation. 2010.

Игры ⚽ Нужно сделать НИР?

Look at other dictionaries:

  • Microsoft Script Editor — The Microsoft Script Editor (MSE or MSE.EXE or C:Program FilesMicrosoft OfficeOFFICE11mse7.exe in Office 2003) is an optional tool included in Microsoft Office 2000[1] through Office 2003[2] as well newer versions of office and is found in… …   Wikipedia

  • Windows Script Host — The Icon For Windows Script Host The Microsoft Windows Script Host (WSH) is an automation technology for Microsoft Windows operating systems that provides scripting capabilities comparable to batch files, but with a greater range of supported… …   Wikipedia

  • Visual Basic Script — (kurz: VBScript oder VBS) ist eine von Microsoft entwickelte Skriptsprache. Sie ist eng verwandt mit Visual Basic (VB) und Visual Basic for Applications (VBA) und wird üblicherweise interpretiert. Inhaltsverzeichnis 1 Anwendungsbereiche 1.1… …   Deutsch Wikipedia

  • Microsoft Windows Services for UNIX — (SFU) is a software package produced by Microsoft which provides a Unix subsystem and other parts of a full Unix environment on Windows NT and its successors. The subsystem included is called Interix. Like the Microsoft POSIX subsystem in Windows …   Wikipedia

  • Microsoft Visual Web Developer — Este artículo o sección necesita una revisión de ortografía y gramática. Puedes colaborar editándolo (lee aquí sugerencias para mejorar tu ortografía). Cuando se haya corregido, borra este aviso por favor. Microsoft Visual Web Developer es un… …   Wikipedia Español

  • GameMonkey Script — is a small, cross platform scripting language designed, as its name suggests, for embedding into games. GameMonkey bears many similarities to Lua, except the syntax is more similar to that of C.GameMonkey features:* Cross platform machine library …   Wikipedia

  • JavaScript — Infobox programming language name = JavaScript paradigm = Multi paradigm: prototype based, functional, imperative, scripting year = 1995 designer = Brendan Eich developer = Netscape Communications Corporation, Mozilla Foundation latest release… …   Wikipedia

  • JavaScript — Не следует путать с Java. JavaScript Класс языка: мультипарадигменный …   Википедия

  • VBScript — Visual Basic Script (kurz: VBScript oder VBS) ist eine von Microsoft entwickelte Skriptsprache. Sie ist eng verwandt mit Visual Basic (VB) und Visual Basic for Applications (VBA) und wird üblicherweise interpretiert. Inhaltsverzeichnis 1… …   Deutsch Wikipedia

  • VisualBasicScript — Visual Basic Script (kurz: VBScript oder VBS) ist eine von Microsoft entwickelte Skriptsprache. Sie ist eng verwandt mit Visual Basic (VB) und Visual Basic for Applications (VBA) und wird üblicherweise interpretiert. Inhaltsverzeichnis 1… …   Deutsch Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”