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
tag to generate a table-formatted display of the variable's structure
cfdump
and contents. For example, to dump a structure named
, use the following
relatives
line. Note that you must surround the variable name with pound signs.
<cfdump var=#relatives#>
Need help?
Do you have a question about the COLDFUSION 5-DEVELOPING and is the answer not in the manual?