Lucee Tag Reference

<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]
[async=boolean]
[enabled=boolean]
[eval=string]
[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. 
async boolean No if true and output is not to browser, Lucee builds the output in a new thread that runs in parallel to the thread that called the dump. please note that if the calling thread modifies the data before the dump takes place, it is possible that the dump will show the modified data. 
enabled boolean No dumps are enabled by default, pass false to short circuit a dump execution and effectively disable it 
eval string 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:
  • simple: - a simple html output (no javascript or css)
  • text (default when output equal console): plain text output (no html)
  • html (default when output equal "browser"): regular output with html/css/javascript
  • classic: classic view with html/css/javascript
  • javascript or js: regular output with javascript 
  • 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:
  • console: the result is written to the console (System.out).
  • debug: the result is written to the debugging logs, when debug is enabled.
  • false: output will not be written, effectively disabling the dump.
  • browser (default): the result is written the the browser response stream. 
  • 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.