# 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
- CFML Code Validation
- Troubleshooting Common Problems
- Generating Custom Error Messages (CFERROR)
- Overview of Exception Handling in ColdFusion
- Exception Information in CFCATCH
- Exception handling strategies
- Exception handling example
- Custom Exception Types