<cftrace>
Displays and logs debugging data about the state of an application at the time the cftrace tag executes.
This tag may have a body.
This tag is also supported within <cfscript>
<cftrace
abort=boolean
category=string
inline=boolean
text=string
type=string
var=string
follow=boolean
><!--- body --->[</cftrace>]
| Attribute | Description |
|---|---|
abort
boolean, optional
|
edit
Calls cfabort tag when the tag is executed |
category
string, optional
|
edit
User-defined string for identifying trace groups |
inline
boolean, optional
|
edit
Displays trace code in line on the page in the location of the cftrace tag, addition to the debugging information output. |
text
string, optional
|
edit
User-defined string, which can include simple variable, but not complex variables such as arrays. Outputs to cflog text attribute |
type
string, optional
|
edit
Corresponds to the cflog type attribute; displays an appropriate icon.
|
var
string, optional
|
edit
The name of a simple or complex variable to display. Useful for displaying a temporary value, or a value that does not display on any CFM page. Alias: variable |
follow
boolean, optional
|
edit
If true, Lucee follows the object defined in the [var] attribute and will log any changes to it. Ignored when attribute [var] is not defined. |
Examples
editThere are currently no examples for this tag.
See also
- Debugging
- Trace()
- Search Issue Tracker open_in_new
- Search Lucee Test Cases open_in_new (good for further, detailed examples)