Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Microsoft Script Debugger

From Wikipedia, the free encyclopedia

Microsoft Script Debugger is relatively minimaldebugger forWindows Script Host-supported scripting languages, such asVBScript andJScript. Its user interface allows the user to setbreakpoints and/orstep 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 comes with a different, tightly integrated JScript debugger part of theInternet Explorer Developer Tools.[1]

Features

[edit]

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

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

Limitations

[edit]

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

  • 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

[edit]

After installation, new options can be found inInternet Explorer'sScript Debugger menu, which gets added in theView menu. Debugging can optionally be turned off from theAdvanced tab in theInternet Options dialog.

See also

[edit]

References

[edit]
  1. ^"Discovering Internet Explorer Developer Tools". Microsoft. Retrieved2009-08-08.
  2. ^ab"Introduction to Microsoft Script Debugger for Internet Explorer". Microsoft. Archived fromthe original on 2008-04-12. Retrieved2009-09-08.
  3. ^"Contents of Script Debugger Release Notes". Microsoft. June 23, 2005. Archived fromthe original on 2010-02-03. Retrieved2009-09-08.Alternative web page
Code analysis
Subsets,* supersets
Transpilers
Concepts
Debuggers
Documentation generators
Editors (comparison)
Engines
Frameworks
Relatedtechnologies
Package managers
Module bundlers
Server-side
Unit testing frameworks (list)
People
Microsoft development tools
Development
environments
Visual Studio
Others
Languages
APIs and
frameworks
Native
.NET
Device drivers
Database
SQL Server
SQL services
Other
Source control
Testing and
debugging
Delivery
Retrieved from "https://en.wikipedia.org/w/index.php?title=Microsoft_Script_Debugger&oldid=1095397893"
Categories:

[8]ページ先頭

©2009-2025 Movatter.jp