C
H A P T E R
8
Chapter 8
Debugging and Error Handling
ColdFusion includes sophisticated debugging and code validation tools. This
chapter gives an overview of the debugging options available in the ColdFusion
Administrator and how to enable CFML attribute validation.
In addition, the ColdFusion Server offers a means to catch and process exceptions in
ColdFusion application pages, through the CFTRY, CFCATCH, and CFTHROW tags.
ColdFusion Studio provides interfaces for debugging application pages and for
dynamically validating multiple levels of HTML and CFML code. For information on
using these features, see Using ColdFusion Studio.
Contents
•
Debug Settings in the ColdFusion Administrator ......................................... 90
•
CFML Code Validation..................................................................................... 91
•
Troubleshooting Common Problems ............................................................. 91
•
Generating Custom Error Messages (CFERROR)........................................... 93
•
Overview of Exception Handling in ColdFusion ........................................... 94
•
Exception Information in CFCATCH .............................................................. 97
•
Exception handling strategies ....................................................................... 100
•
Exception handling example......................................................................... 100
•
Custom Exception Types ............................................................................... 102
Summary of Contents for COLDFUSION 4.5-DEVELOPING WEB
Page 1: ...Allaire Corporation Developing Web Applications with ColdFusion ColdFusion 4 5...
Page 14: ...xiv Developing Web Applications with ColdFusion...
Page 26: ...xxvi Developing Web Applications with ColdFusion...
Page 34: ...8 Developing Web Applications with ColdFusion...
Page 70: ...44 Developing Web Applications with ColdFusion...
Page 84: ...58 Developing Web Applications with ColdFusion...
Page 114: ...88 Developing Web Applications with ColdFusion...
Page 148: ...122 Developing Web Applications with ColdFusion...
Page 174: ...148 Developing Web Applications with ColdFusion...
Page 208: ...182 Developing Web Applications with ColdFusion...
Page 244: ...218 Developing Web Applications with ColdFusion...
Page 274: ...248 Developing Web Applications with ColdFusion...
Page 288: ...262 Developing Web Applications with ColdFusion...
Page 300: ...274 Developing Web Applications with ColdFusion...
Page 350: ...324 Developing Web Applications with ColdFusion...
Page 362: ...336 Developing Web Applications with ColdFusion...