Oh well, its mostly for development reasons when (for example) I have
written a query and just want to dump the results to screen quickly to make
sure I am getting what I want.  It is also handy if your dev server is
working fine but you are getting odd results from the production server
hosted hundreds of miles away, it is simpler to just cfdump some variables
than to try to connect VS to the remote machine.

Never mind, I guess like everything else I currently dislike about .net I
will eventually get used to it ;-)

--
Jay

-----Original Message-----
From: David Churvis [mailto:[EMAIL PROTECTED] 
Sent: 04 March 2008 14:05
To: CF-Community
Subject: RE: For any .net (C#) users on the list

Hi James,

There is nothing like CFDUMP built into .NET outside of the VS debugger.
Unfortunately, I have also never seen one of these from a third party either
and have pined for one more than once.  Part of the problem is that whereas
CF has a rather limited set of types, the types available in .NET are
practically infinite, so it's a much more difficult task.

That said, I have actually been kicking around an autodump idea in my head
that would use reflection to figure out what's what and dump it out.  I'm
really not sure how ultimately useful it would be, however, since it's often
just easier to use the VS debugger, and the gains of having an autodump are
probably not exceeded by the time it would take to build it.

You might want to look into using the Trace feature of ASP.NET.  You can
write strings out to the trace, and even though it's not going to tell you
what *all* of your variables are, you can write out selected bits of
information and see it at the end of the request.

Hope This Helps,
David Churvis

-----Original Message-----
From: James Smith [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 04, 2008 5:25 AM
To: CF-Community
Subject: For any .net (C#) users on the list

Is there an equivalent in asp.net (C#) of the <cfdump> tag?

I know I am probably going to get loads of responses asking me why bother
when I can examine variable contents in VS but there are times when I just
want to run a page on the server that dumps out a variable without me
needing to fire up VS all the time.

--
Jay

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.516 / Virus Database: 269.21.4/1309 - Release Date: 03/03/2008
18:50
 






~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Community/message.cfm/messageid:255455
Subscription: http://www.houseoffusion.com/groups/CF-Community/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.5

Reply via email to