Dreamweaver.resultspalette.debugwindow.adddebugcontextdata() - MACROMEDIA DREAMWEAVER MX 2004-DREAMWEAVER API Reference

Dreamweaver api reference
Table of Contents

Advertisement

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
the following formatting:
server debug node
debugnode
context
icon
name
value
timestamp
The following strings are optional:
jumptoline
template
path
line number
start position
end position
For example:
<serverdebuginfo>
<context>
<template><![CDATA[/ooo/master.cfm]]></template>
<path><![CDATA[C:\server\wwwroot\ooo\master.cfm]]></path>
<timestamp><![CDATA[0:0:0.0]]></timestamp>
</context>
<debugnode>
<name><![CDATA[CGI]]></name>
<icon><![CDATA[ServerDebugOutput/ColdFusion/CGIVariables.gif]]></icon>
<debugnode>
<name><![CDATA[Pubs.name.sourceURL]]></name>
<icon><![CDATA[ServerDebugOutput/ColdFusion/Variable.gif]]></icon>
argument is the XML string that the server returns. The XML string should use
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
Path of the file from server point of view
Line number within the file
Opening character offset within the line
Ending character offset within the line
Results window functions
181

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DREAMWEAVER MX 2004-DREAMWEAVER API and is the answer not in the manual?

This manual is also suitable for:

Dreamweaver mx 2004

Table of Contents