User Guide

196 Chapter 11 Preventing and Handling Errors
Problem: Invalid attribute or value.
If you use an invalid attribute or attribute values, ColdFusion returns an error
message. To prevent such syntax errors, use the ColdFusion syntax validation tools
in ColdFusion Studio.
Problem: Mismatched quotes and escape characters.
Check strings in attributes and expressions for proper placement of single and
double quotes. Color coding in ColdFusion Studio can help you spot improper quote
placement.
Problem: You suspect that there are problems with the structure or contents of a
complex data variable, such as a structure, array, query object, or WDDX-encoded
variable.
Use the
cfdump tag to generate a table-formatted display of the variables structure
and contents. For example, to dump a structure named
relatives, use the following
line. Note that you must surround the variable name with pound signs.
<cfdump var=#relatives#>