I'd also suggest using Firefox for javascript debugging. It's far more robust than IE's error messages (which are basically useless).
As for debugging in Coldfusion, the cfdump tag is your friend! <cfdump var="#FORM"> <cfdump var="#queryName"> <cfdump var="#myVariable"> <cfdump var="#someStructure"> Each of those will output the contents of whatever variable you specify. For complex data types (queries, structures, arrays) you'll see a table containing name/value pairs. For simple data types, you'll just see a string representation of the value of that variable. There's also value using a plain ole cfoutput block to output variables. Sort of a poormans break point. Make use of the cfabort (<cfabort>) tag to halt processing so that you can inspect the values. Those are the main things that I use. <!----------------//------ andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --------------//---------> -----Original Message----- From: Richard White [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 03, 2006 7:24 AM To: CF-Talk Subject: Advice on debugging Hi, I would first like to say a big thank you to every one that has helped me over the last few weeks. I am new to coldfusion and this site has been awesome. The responses are very quick from people that have obviously been developing for a long time. You have really helped take the pressure of me and helped me understand internet applications, so thank you :) i would really appreciate some advice on using the debugging in CF. I have read the tutorials on debugging but would like some advice on the best use of the features that are available. Also, I have noticed that sometimes, especially with javascript, that if i have done something wrong in the code, it just doesnt work. Is there anyway i can make the page tell me where something has gone wrong? thanks for any advice ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255149 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

