User Defined Functions can be tricky to debug – a common debugging technique is to embed output at strategic locations in your code, and as UDF’s are written in you can’t simply embed output. The solution? Use the WriteOutput() function in your code and you’ll be able to embed output wherever needed. (Applies to: ColdFusion 5)

Leave a Reply