Testing and Debugging your Application  
 
 

There are several ways to debug ColdFusion applications. ColdFusion Studio offers interactive debugging tools. You can also retrieve debugging output when the ColdFusion Server processes your application pages.

 
 
  Using the interactive debugger  
 
 

Developers working in ColdFusion Studio can use the interactive debugger to set breakpoints and watches, evaluate expressions and variables, step through lines of code, and investigate the stack.

See Chapter 7, Debugging and Troubleshooting for instructions on setting up and running the interactive debugger in ColdFusion Studio.

 
 
  Outputting the server's debug information  
 
 

As you build your ColdFusion application pages, you can test pages by simply opening them in a browser. There is no need to compile or link your pages. You can make a tiny change and see the results of your change immediately by simply opening the page in your browser. Most ColdFusion developers run ColdFusion and a Web server locally, on their own computers, and test applications by editing and viewing or running pages side-by-side. Once your application is ready, you can very easily deploy your pages to a remote server.

ColdFusion provides several debugging options to help you troubleshoot your application. For every ColdFusion transaction - that is, every time a browser requests a ColdFusion page - debugging data can be viewed that provides information about the operation to help you track down problems and coding errors. With debugging activated, this information is displayed in your Web browser at the bottom of every application page.

See Administering ColdFusion Server for details on setting the debug output options in the Administrator.



 
 
BackUp LevelNext
 
 

allaire     AllaireDoc@allaire.com
    Copyright © 1998, Allaire Corporation. All rights reserved.