Specifications

JavaScript Debugger Modules 249
reportWarning()
Availability
Dreamweaver 4
Description
Called when a warning is detected in the file.
Arguments
fileURL, fileName, errorNumber, strDesc, lineNumber, offset
fileURL is the full path name of the report file, expressed as a file://URL, of the file containing
the error.
fileName is the name of the file.
errorNumber is the numeric identifier of the warning that occurred.
strDesc is the description of the warning.
lineNumber is the line number in which the warning occurred, relative to the start of the
block.
offset is the offset of the character at which the warning occurred, relative to the start of the
block.
Returns
Dreamweaver expects nothing.
startBlock()
Availability
Dreamweaver 4
Description
Indicates the beginning of a new block of JavaScript code. The block can be a script tag, event
handler, or external .js file.
Arguments
fileName, lineNumber, offset
fileName is the name of the HTML document or .js file that contains the block. The location
is specified by a relative path to the source HTML document.
lineNumber is the line number in the HTML document or .js file in which the block begins
(1-based index).
offset is the offset of the first character of JavaScript code from the beginning of the file
(0-based index).
Returns
Dreamweaver expects nothing.