390
Chapter 18: Debugging and Troubleshooting Applications
Configuring debugging in the ColdFusion MX Administrator
ColdFusion can provide important debugging information for every application page requested
by a browser. The ColdFusion MX Administrator lets you specify which debugging information
to make available and how to display it. The following sections briefly describe the Administrator
settings. For more information, see the online Help for the Debugging pages.
Debugging Settings page
In the Administrator, the following options on the Debugging Settings page determine the
information that ColdFusion displays in debugging output:
Option
Description
Enable Robust
Exception
Information
Enables the display of the following information when ColdFusion displays
the exception error page. (Cleared by default.)
•
Path and URL of the page that caused the error
•
Line number and short snippet of the code where the error was identified
•
Any SQL statement and data source
•
Java stack trace
Enable Debugging
Enables debugging output. When this option is cleared, no debugging
information is displayed, including all output of
cftrace
calls. (Cleared by
default.)
You should disable debugging output on production servers. Doing so
increases security by ensuring that users cannot see debugging information. It
also improves server response times. You can also limit debugging output to
specific IP addresses; for more information, see
“Debugging IP addresses
page” on page 392
.
Select Debugging
Output Format
Determines how to display debugging output:
•
The classic.cfm template (the default) displays information as plain HTML
text at the bottom of the page.
•
The dockable.cfm template uses DHTML to display the debugging
information using an expanding tree format in a separate window. This
window can be either a floating pane or docked to the browser window. For
more information on the dockable output format, see
“Using the
dockable.cfm output format” on page 399
.
Report Execution
Times
Lists ColdFusion pages that run as the result of an HTTP request and displays
execution times, ColdFusion also highlights in red pages with processing
times greater than the specified value, and you can select between a summary
display or a more detailed, tree structured, display.
General Debug
Information
Displays general information about the request: ColdFusion MX Version,
Template, Time Stamp, User Locale, User Agent, User IP, and Host Name.
Database Activity
Displays debugging information about access to SQL data sources and
stored procedures. (Selected by default.)
Exception
information
Lists all ColdFusion exceptions raised in processing the request. (Selected by
default.)
Tracing information
Displays an entry for each
cftrace
tag. When this option is cleared, the
debugging output does not include tracing information, but the output page
does include information for
cftrace
tags that specify
inline="Yes"
.
(Selected by default.)
For more information on using the
cftrace
tag, see
“Using the cftrace tag to
trace execution” on page 401
.
Содержание COLDFUSION MX 61-DEVELOPING COLDFUSION MX
Страница 1: ...Developing ColdFusion MX Applications...
Страница 22: ...22 Contents...
Страница 38: ......
Страница 52: ...52 Chapter 2 Elements of CFML...
Страница 162: ......
Страница 218: ...218 Chapter 10 Writing and Calling User Defined Functions...
Страница 250: ...250 Chapter 11 Building and Using ColdFusion Components...
Страница 264: ...264 Chapter 12 Building Custom CFXAPI Tags...
Страница 266: ......
Страница 314: ...314 Chapter 14 Handling Errors...
Страница 344: ...344 Chapter 15 Using Persistent Data and Locking...
Страница 349: ...About user security 349...
Страница 357: ...Security scenarios 357...
Страница 370: ...370 Chapter 16 Securing Applications...
Страница 388: ...388 Chapter 17 Developing Globalized Applications...
Страница 408: ...408 Chapter 18 Debugging and Troubleshooting Applications...
Страница 410: ......
Страница 426: ...426 Chapter 19 Introduction to Databases and SQL...
Страница 476: ...476 Chapter 22 Using Query of Queries...
Страница 534: ...534 Chapter 24 Building a Search Interface...
Страница 556: ...556 Chapter 25 Using Verity Search Expressions...
Страница 558: ......
Страница 582: ...582 Chapter 26 Retrieving and Formatting Data...
Страница 668: ......
Страница 734: ...734 Chapter 32 Using Web Services...
Страница 760: ...760 Chapter 33 Integrating J2EE and Java Elements in CFML Applications...
Страница 786: ...786 Chapter 34 Integrating COM and CORBA Objects in CFML Applications...
Страница 788: ......
Страница 806: ...806 Chapter 35 Sending and Receiving E Mail...