Accessibility

Table of Contents

Using the ColdFusion 8 step-through debugger for Eclipse

Configuring ColdFusion to use the step-through debugger for Eclipse

Configuring ColdFusion to use the step-through debugger requires that you allow line debugging through the ColdFusion 8 Administrator; it may also be a good idea to enable a longer timeout limit for requests. To do so, use the following steps.

  1. Log in to your ColdFusion 8 Administrator and select Debugging & Logging > Debugger Settings.
  2. Select the Allow Line Debugging option. Click Submit Changes (see Figure 1).

    Enabling the Allow Line Debugging option
    Figure 1. Enabling the Allow Line Debugging option

  3. It may be a good idea to enable a longer timeout limit for requests. The reason for allowing the longer timeout is that when the step-though debugger stops at a breakpoint, the request is held open with the ColdFusion server. You may want to specify a time period longer then 60 seconds while you are evaluating the debug output before the request times out. To enable timeout limits for requests, use the following steps:

    1. Select Server Settings > Settings.
    2. Select the Timeout Requests option and set it to 300 seconds; then click Submit (see Figure 2).

      Figure 02

      Figure 2. Resetting the Timeout Requests limit

    3. Restart ColdFusion.

Note: Running a ColdFusion server in Debug mode in a production environment is not recommended as a best practice. However, since ColdFusion 8 supports multiple debug sessions, you are able to debug in production without hindering application availability. This is an important benefit as third-party debugging tools for ColdFusion only allow one debug session at a time.