User Guide

Table Of Contents
442 Chapter 18: Debugging and Troubleshooting Applications
<p>Select View &gt; Source to see timing information</p>
<table border="1" width="100%">
<cfoutput query="parkquery">
<tr>
<td>#Parkname#</td>
</tr>
</cfoutput>
</table>
</cftimer>
<hr><br>
<!--- type="debug" --->
<cftimer label="Query and CFOUTPUT Time in Debug Output" type="debug">
<cfquery name="deptquery" datasource="cfdocexamples">
select *
from Departments
</cfquery>
<p>Scroll down to CFTimer Times heading to see timing information</p>
<table border="1" width="100%">
<cfoutput query="deptquery">
<tr>
<td>#Dept_ID#</td>
<td>#Dept_Name#</td>
</tr>
</cfoutput>
</table>
</cftimer>
</body>
Using the Code Compatibility Analyzer
The Code Compatibility Analyzer has two purposes:
It can validate your applications CFML syntax. To do so, the analyzer runs the ColdFusion
compiler on your pages, but does not execute the compiled code. It reports errors that the
compiler encounters.
It can identify places where ColdFusion MX might behave differently than previous versions.
The analyzer identifies the following kinds of features:
No longer supported Their use results in errors. For example, ColdFusion now generates
an error if you use the
cflog tag with the thread="Yes" attribute.
Deprecated They are still available, but their use is not recommended and the they might
not be available in future releases. Deprecated features might also behave differently now
than in previous releases. For example, the
cfservlet tag is deprecated.
Modified behavior They might behave differently than in previous versions. For example,
the
StructKeyList function no longer lists the structure key names in alphabetical order.
The analyzer provides information about the incompatibility and its severity, and suggests a
remedy where one is required.
You can run the Code Compatibility Analyzer from the ColdFusion MX Administrator. Select
Code Analyzer from the list of Debugging & Logging pages.