Adobe 38040334 - Dreamweaver CS3 User Manual page 153

Api reference
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

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 infor-
mation 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
function.
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
• The
argument is the XML string that the server returns. The XML string should use the following
treedata
formatting:
server debug node
debugnode
context
icon
name
value
timestamp
The following strings are optional:
jumptoline
template
dreamweaver.resultsPalette.debugWindow.addDebugContextData()
Root node for the debug XML data
Corresponds to every node
Name of item that appears in the context list
Icon to use for tree node
Name to display
Value to display
Only applicable to context node
Link to a specific line number
Name of the template file part of the URL
DREAMWEAVER CS3
148
API Reference

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents