Specifications
501
dreamweaver.getIsAnyBreakpoints()
Availability
Dreamweaver 4
Description
Finds any breakpoints that are set in any files.
Arguments
None.
Returns
A Boolean value that returns true if any breakpoints are set in any file.
dreamweaver.removeAllBreakpoints()
Availability
Dreamweaver 4
Description
Removes all breakpoints in all files.
Arguments
None.
Returns
Nothing.
dreamweaver.startDebugger()
Availability
Dreamweaver 4
Description
Opens the JavaScript Debugger window with the original source .htm file and the .js files that are
listed in
sourceFileList(). Then it launches the browser with the debug version file specified
by
debugFileName(). This function does not prompt the user if it cannot determine the browser
type.
A call to the
dom.instrumentDocument() function creates the “debugged” version.
Arguments
sourceFileList, isTempFiles, {browserName}
• sourceFileList is an array of URL pairs comprising the source file and the instrumented file.
Within each pair, the first item is the .htm file and subsequent items are the external .js files.
Each .htm file is a URL expressed as an absolute file URL.
• isTempFiles is a Boolean value that indicates whether the instrumented files should be
tracked and deleted the next time the JavaScript Debugger launches or when Dreamweaver
exits.
• browserName is optional; it specifies the name of the target browser as defined in the Preview
settings in Browser Preferences. It can also be primary or secondary. If omitted, the primary
browser is used by default.