User Guide
Results window functions 197
dreamweaver.resultsPalette.debugWindow.addDebug
ContextData()
Availability
Dreamweaver MX.
Description
Interprets a customized XML file that returns from the server that is specified in the Site
Definition dialog box. The contents of the XML file display as tree data in the Server Debug
panel, so you can use the Server Debug panel to evaluate server-generated content from
various server models.
Arguments
treedata
■ The treedata argument is the XML string that the server returns. The XML string
should use the following formatting:
server debug node
Root node for the debug XML data
debugnode
Corresponds to every node
context
Name of item that appears in the context list
icon
Icon to use for tree node
name
Name to display
value
Value to display
timestamp
Only applicable to context node
The following strings are optional:
jumptoline
Link to a specific line number
template
Name of the template file part of the URL
path
Path of the file from server point of view
line number
Line number within the file
start position
Opening character offset within the line
end position
Ending character offset within the line
000_DW_API_Print.book Page 197 Wednesday, July 20, 2005 11:58 AM