I've seen something similar when I use cfdump while in a cfc. It doesn't happen all the time... I never sat down to try and calculate the variables, but things seem to go wrong when I'm 1) dumping in a cfc, 2) Am dumping in the normal template that calls the cfc and the second dump appears after the first. There might be a couple of other environmental things that affect this too... but as I said, I have never sat down to try and count them all.
What happens to me is that all of the HTML on the page gets blown to bits. It's quite spectacular to watch. Since it's only a situation that happens while I'm debugging i just kind of grin, bear it, and try not to let it happen. -Patti On Friday, March 21, 2003, at 11:06 AM, Ian Skinner wrote: > Strange behavior with CFdump. > > I wrote some code something like this. > > <cftry> > <cfquery.... > .../cfquery> > > <cfcatch type="database"> > <cfmail to="[EMAIL PROTECTED]" > from="[EMAIL PROTECTED]" subject="Database Error"> > <cfdump var="#cfcatch#> > </cfmail> > </cfcatch> > </cftry> > > <html> > > ... some html... > > <cfoutput>#aVariable#</cfoutput> > > ... more html ... > > </html> > > What happened was that if an error occurred, and the cfmail was > generated > with the cfdump in it, the html in the rest of the page would not be > passed > to the client, but variables in <cfoutput> tags would. Almost like a > <cfsetting enableCFoutputOnly ="yes"> was in place. Does this make > sense, > should this be happening? > > -------------- > Ian Skinner > Web Programmer > BloodSource > Sacramento, CA > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

