Cftrace - MACROMEDIA COLDFUSION MX 61-CFML Reference

Cfml reference
Hide thumbs Also See for COLDFUSION MX 61-CFML:
Table of Contents

Advertisement

cftrace

Description
Displays and logs debugging data about the state of an application at the time the
executes. Tracks runtime logic flow, variable values, and execution time. Displays output at the
end of the request or in the debugging section at the end of the request; or, in Dreamweaver MX
and later, in the Server Debug tab of the Results window.
ColdFusion logs
directory.
Note: To permit this tag to execute, you must enable debugging in the ColdFusion Administrator.
Optionally, to report trace summaries, enable the Trace section.
Category
Debugging
tags,
Syntax
<cftrace
abort = "Yes or No"
category = "string"
inline = "Yes or No"
text = "string"
type = "format"
var = "variable_name"
</cftrace>
See also
cfdump, cferror, cfrethrow, cftry,
Applications," in Developing ColdFusion MX Applications
History
ColdFusion MX: Added this tag.
Attributes
Attribute
Req/Opt Default
abort
Optional
category
Optional
inline
Optional
text
Optional
output to the file logs\cftrace.log, in the ColdFusion installation
cftrace
Variable manipulation tags
Description
No
• Yes: calls
• No
User-defined string for identifying trace groups
No
• Yes: displays trace code in line on the page in the location of
• No
User-defined string, which can include simple variable, but not
complex variables such as arrays. Outputs to
attribute.
Chapter 18, "Debugging and Troubleshooting
tag when the tag is executed
cfabort
the
tag, addition to the debugging information
cftrace
output.
tag
cftrace
cflog text
cftrace
341

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion mx

Table of Contents