Accessibility

Table of Contents

Using the ColdFusion 8 step-through debugger for Eclipse

Setting up Eclipse for ColdFusion debugging

Now you have to tell Eclipse where your ColdFusion server is located. You have the ability to add as many servers as you wish. They can be local (your machine) or a remote server(s). The servers against which you wish to debug must all have debugging enabled, and you must have RDS access as well.

  1. With Eclipse open, select Window > Preferences.
  2. In the tree menu select the RDS Configuration option (see Figure 3).
  3. Enter any description you wish.
  4. If your ColdFusion server is running locally, enter 127.0.0.1 for the Host Name.
  5. If you installed ColdFusion in a stand-alone configuration, enter 8500 for the port number of the server.

    Note: If you installed ColdFusion in multiserver configuration locally with JRun, your default ColdFusion instance port will be 8300.

  6. Enter the username and password you created when installing ColdFusion 8.
  7. Click the Test Connection button. See the dialog box in Figure 4 showing that Eclipse can connect to your ColdFusion server.

Selecting RDS Configuration

Figure 3. Selecting RDS Configuration

A successful Eclipse connection to your ColdFusion server
Figure 4. A successful Eclipse connection to your ColdFusion server

Now that you have connected to your ColdFusion 8 server, you can view the defined data sources and browse database tables, view all CFCs available to you, and take advantage of the ColdFusion wizards for rapid application development.