Tag <CFDUMP>
Outputs the elements, variables and values of most kinds of CFML objects. Useful for debugging. You can display the contents of simple and complex variables, objects, components, user-defined functions, and other elements.
Body
This tag may have a body.
Example
<cfDump [abort="boolean"] [eval="any"] [expand="boolean"] [format="string"] [hide="string"] [keys="number"] [label="string"] [metainfo="boolean"] [output="string"] [show="string"] [showudfs="boolean"] [top="number"] [var="any"]> [</cfDump>]
Attributes
The attributes for this tag are fixed. Except for the following attributes no other attributes are allowed.
Name | Type | Required | Description |
---|---|---|---|
abort | boolean | No | stops further processing of request. |
eval | any | No | name of the variable to display, also used as label, when no label defined. |
expand | boolean | No | expands views |
format | string | No | specify the output format of the dump, the following formats are supported:
|
hide | string | No | hide column or keys. |
keys | number | No | For a structure, number of keys to display. |
label | string | No | header for the dump output. |
metainfo | boolean | No | Includes information about the query in the cfdump results. |
output | string | No | Where to send the results:
|
show | string | No | show column or keys. |
showudfs | boolean | No | show UDFs in cfdump output. |
top | number | No | The number of rows to display. |
var | any | No | Variable to display. Enclose a variable name in pound signs. |