CFDump and CFAbort Makes Debugging Inside CFSilent Possible
I was just posting a comment over on Dave Carabetta's blog about CFDump and I thought I would mention it here also. I am a HUGE fan of CFSilent. I like to try an limit the amount of the data that I have to send to the browser. One of the pains of CFSilent though is that it makes debugging harder since you can't just output variables... they are not added to the buffer.
One day, I discovered, quite by accident, that if you run a CFAbort inside of a CFSilent tag, then the buffer created inside the CFSilent is actually appending to the output buffer. What this little gem means is that if you run a CFDump and then CFAbort tag inside of CFSilent, you get to see the CFDump data! Granted, the page terminates, but heck, if you are debugging, this is fantastic!
Reader Comments
Apologies for feeble attempts to contact you. I posted a comment on another blog entry page, also, but don't know if you will receive it, so send this on a more recent entry's comment.
I will also try sending regular email to "info@bennadel.com" or some such.
Would you be so good as to assist me in getting "Psycheclone" installed on nine3.com?
My new server's web stats package is impossible to use after the first few days of the month.
Thanks, Cass
Cass, I am sorry, but I don't really know what Psycheclone is. I only know that it is not a real-world user and hence, I treat it as if it was a web-spider. Good luck finding more info about it. I can tell you that many people have been searching for Psycheclone information lately.