MACROMEDIA COLDFUSION MX 61-DEVELOPING COLDFUSION MX Develop Manual page 402

Developing coldfusion mx applications
Table of Contents

Advertisement

In-line in your application page
ColdFusion displays the trace output on the page at the
tag does not display any output if it is inside a
cftrace
The
tag executes only if you select Enable Debugging on the ColdFusion MX
cftrace
Administrator Debugging Settings page. To display the trace results in the debugging output, you
must also specify Tracing Information on the Debugging Settings page; otherwise, the trace
information is logged and inline traces are displayed, but no trace information appears in the
debugging output.
Note: When you use in-line trace tags, ColdFusion sends the page to the browser after all page
processing is completed, but before it displays the debugging output from the debug template. As a
result, if an error occurs after a trace tag but before the end of the page, ColdFusion might not display
the trace for that tag.
An in-line trace messages look like the following:
The following table lists the displayed information:
Entry
[CFTRACE 13:21:11.011]
[501 ms]
[C:\CusionMX\wwwroot\MYStuff\
NeoDocs\tractest.cfm]
@ line:14
[UDF End]
GetRecords UDF call has completed The
MyStatus Success
ColdFusion logs all
directory.
A log file entry looks like the following:
"Information","web-29","04/01/02","13:21:11","MyApp","[501 ms (1st trace)]
[C:\CFusionMX\wwwroot\MYStuff\NeoDocs\tractest.cfm @ line: 14] - [UDF End]
[MyStatus = Success] GetRecords UDF call has completed "
This entry is in standard ColdFusion log format, with comma-delimited fields inside double-
quote characters. The information displayed in the trace output is in the last, message, field.
402
Chapter 18: Debugging and Troubleshooting Applications
When you specify the
Meaning
Trace type (severity) specified in the
Information.
Time when the
Time taken for processing the current request to the point of
the
cftrace
Path in the web server of the page that contains the
tag.
The line number of the
Value of the
cftrace
with their values.
Name and value of the variable specified by the
attribute.
var
output to the file logs\cftrace.log in your ColdFusion installation
cftrace
attribute in a
inline
tag location
cftrace
tag block.)
cfsilent
tag executed.
cftrace
tag.
tag.
cftrace
tag
attribute.
cftrace
category
tag text attribute with any variables replaced
tag,
cftrace
An inline
. (
call; in this case,
cftrace
cftrace
tag
cftrace

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion mx

Table of Contents