Using the Interactive Debugger in ColdFusion Studio
Developers can use the interactive debugger in ColdFusion Studio to debug dynamic pages against the ColdFusion application server.
You can use the debugging tools to:
- Set breakpoints and watches
- Evaluate variables and expressions
- Step through lines of code
- Investigate the code stack
- Monitor recordsets
- Observe variables in all scopes
To run the interactive debugger, you use the Debug menu or the commands on the Debug toolbar in ColdFusion Studio. But first, you need to set up the debugger with the correct paths to both your application pages and your ColdFusion server.
The following sections describe these procedures in detail.
Getting Started
First, you need to take the following steps to set up the debugging session:
- Select the ColdFusion server against which you'd like to run the debugging session.
- Provide mappings to specify the ColdFusion Studio path, the ColdFusion Server path, and the browser's path to the files you'd like to debug.
- Specify the first page in the application to be debugged.
Configuring a Remote Development Server
To access a remote server in ColdFusion Studio, you must first configure the server and provide security login information if the server is protected through ColdFusion security.
To configure a remote development server:
- In ColdFusion Studio, open the first application page you would like to debug and choose Debug > Debug Settings.
- In the Debug Start pane of the Remote Development Settings dialog box, choose Add RDS Server from the drop-down list.
- In the Configure RDS Server dialog box, enter the description, host name, user name, password, and port of the Remote Server. You can also choose whether or not to use Secure Sockets Layer to access the server.
- If your remote server is protected by ColdFusion RDS Security, enter the user name and password you use to access this protected resource.
- Click OK.
AllaireDoc@allaire.com
Copyright © 1998, Allaire Corporation. All rights reserved.