WriteDump()

Outputs the content of a CFML variable to the browser, often used during debugging or as a quick way to view variables at runtime

Usage

BOOLEAN = WriteDump( var, output, abort, top, version, label )
Argument Summary
var A variable or text string to be output to the browser at runtime. [optional]
output Determines where the output of this dump goes. Can be 'browser', or the full path to a file name to use [optional]
abort Abort this request as soon as the tag has finished [optional]
top How deep to iterate into the variable, e.g. the number of rows to output. [optional]
version Determines how verbose query and java objects should outputted [optional]
label A label or title to be shown for the output of the VAR attribute. [optional]

Calling

Supports named-parameter calling allowing you to use the function like:

WriteDump(
   var=?, 
   output=?, 
   abort=?, 
   top=?, 
   version=?, 
   label=?
);

Supports passing parameters as a structure using ArgumentCollection:

WriteDump( ArgumentCollection={
   var : ?, 
   output : ?, 
   abort : ?, 
   top : ?, 
   version : ?, 
   label : ?
} );