Specifications
544
Returns
Nothing.
Enabler
“dreamweaver.resultsPalette.canSelectAll()” on page 428
Server debugging
Dreamweaver can request files from ColdFusion and display the response in its embedded
browser. When the response returns from the server, Dreamweaver searches the response for a
packet of XML that has a known signature. If Dreamweaver finds XML with that signature, it
processes the XML and displays the contained information in a tree control. This tree displays
information about the following items:
• All templates, custom tags, and include files that are used to generate the rendered .cfm page
• Exceptions
• SQL queries
• Object queries
• Variables
• Trace trail
Additionally, the Server Debug panel can display debug data from other server models. To set up
Dreamweaver to debug other server models, use the
dreamweaver.resultsPalette.debugWindow.addDebugContextData() method.
dreamweaver.resultsPalette.debugWindow.addDebugContextData()
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
treedata
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