• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 15. Debugging and Error Handling > Introduction to Debugging and Error ...

Introduction to Debugging and Error Handling

Debugging an application occurs primarily during development. It’s important not only for finding errors in your code and solving problems, but also for just understanding exactly what the code is doing. It’s worthwhile to debug every page of an application and look at the debugging output at least once so that you can search for any behavior or inefficiency that you might not have anticipated when writing the code.

Disabling Debugging

Although debugging features are essential during development and can be helpful when you have problems in production, you don’t want to leave debugging enabled all the time. Debugging output should usually be disabled on production servers. Disabling debugging output can help secure your site by ensuring that users can’t see debugging information that could be misused by malicious lurkers. You will also see increased server performance if debugging is disabled. If you do find it necessary to debug an application on a production server, ColdFusion allows you to enable debugging only for certain IP addresses. This option is described later in this chapter.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint