Tags · Functions · Objects
Lucee Tag Reference
Choose a tag:

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"]
		[async="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. 
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 
  • 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).
  • 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.