Skip to main content
Ben Nadel at CFinNC 2009 (Raleigh, North Carolina) with: Mike Brunt and Dan Wilson
Ben Nadel at CFinNC 2009 (Raleigh, North Carolina) with: Mike Brunt ( @cfwhisperer ) Dan Wilson ( @DanWilson )

CFDump and CFAbort Makes Debugging Inside CFSilent Possible

By on
Tags:

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

2 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

15,674 Comments

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.

I believe in love. I believe in compassion. I believe in human rights. I believe that we can afford to give more of these gifts to the world around us because it costs us nothing to be decent and kind and understanding. And, I want you to know that when you land on this site, you are accepted for who you are, no matter how you identify, what truths you live, or whatever kind of goofy shit makes you feel alive! Rock on with your bad self!
Ben Nadel