Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

debugging cfcs 1

Status
Not open for further replies.

jimmyshoes

Programmer
Jun 1, 2008
132
GB
I want to be able to create a log when a cfc generates an error. I was thinking of including try catch blocks in all my udfs. Is this a good way of getting debugging information
 
That would give you the most control. In our production environment we have all errors emailed to the support group and just dump the error object <cfdump var="#CFCATCH#"> with SQL and other code (line numbers) that are involved.
 
How is performance affected by all these try catch blocks? I read that try catch blocks are very efficient in coldfusion ( so I assume it has negligable impact on performance)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top