Name
cfdump
Synopsis
<cfdump>Displays the value of a variable in a color-coded DHTML-formatted
table. cfdump is useful in debugging situations
where you need to display a variable’s contents,
especially for arrays and structures. The cfdump
tag can output the contents of most datatypes.
Attributes
-
var="#variable_name#" The name of the variable you want to display the value(s) for.
cfdumpis capable of recognizing simple datatypes as well as arrays, binary data, CFCs, COM objects (new in ColdFusion MX 6.1), Java objects, query objects, structures, UDFs, WDDX, and XML document objects. Note that it is necessary to surround the variable name with pound signs.-
expand="Yes|No" Indicates whether to expand DHTML table views (works in most modern browsers). Optional. Default is
Yes.-
label="Label_Text" Specifies a header for the table created by the dump. Optional.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access