Adobe 38040334 API Reference - Page 153
Server debugging
UPC - 883919090467
View all Adobe 38040334 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 153 highlights
DREAMWEAVER CS3 148 API Reference 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() 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 treedata argument is the XML string that the server returns. The XML string should use the following formatting: server debug node debugnode context icon name value timestamp The following strings are optional: jumptoline template 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