System information

Exercise 4: Configuring debugging options 55
7.
Click Verify All Connections to ensure that ColdFusion can access this file.
OK appears in the Status column for successful connections.
If the connection to the compass travel data source fails, do the following:
a
Verify that the name of the data source file does not contain a space. If it does contain a
space, delete the data source from the Connected Data Source dialog box. To do this, click
the Delete action button associated with the CompassTravel data source name, and then
repeat the steps in this procedure to reconfigure this data source.
b
Verify that the JDBC URL is correct.
Exercise 4: Configuring debugging options
ColdFusion provides debugging information to make it easier to fix problems in your application.
You can view debugging information for individual ColdFusion pages while editing them in
Dreamweaver, or enable debugging throughout your application by using the ColdFusion MX 7
Administrator to set debugging options.
Viewing debugging information within Dreamweaver
Instead of enabling debugging for an application, you can view debugging information for any
ColdFusion page in Dreamweaver.
To view debugging information for a ColdFusion page in Dreamweaver:
1.
Open the page to debug in Dreamweaver.
2.
On the Documents tab, click the Server Debug icon.
3.
If an Exceptions category appears in the Results panel, click the + button to expand the category.
4.
Fix the error and save the file, and click Browse.
5.
To leave debug mode, switch to either Code view or Design view.
Enabling debugging in the ColdFusion MX Administrator
The ColdFusion MX Administrator provides a variety of debugging settings that let you enable
debugging information on a server-wide basis. If you are working on a development system, you
can have these options turned on all the time. However, if you are working on a production
system, you most likely will not want to have these options turned on, because the debugging
information can appear on the bottom of an application page or in a dockable tree in
your browser.