When I put this inside a function of a CFC, right after thearguments declarations: <cfdump var = '#arguments#' output='e:\dump.html' format='html'>or<cfdump var = '#arguments#' output='console' format='text'> I get this error message from CF: Context validation error for the cffunction tag. The start tag must have a matching end tag. An explicit end tag can be provided by adding </cffunction>. If the body of the tag is empty, \you can use the shortcut <cffunction .../ It's as if the cfdump is causing CF not to recognize the closing </cffunction> tag.
Am I putting the cfdump in the wrong place in the method?Thanks!Rick > To: [email protected] > Subject: Re: How can I view arguments in a CFC on-screen? > Date: Mon, 1 Apr 2013 19:06:31 -0400 > From: [email protected] > > > Use the step debugger. > > On Monday, April 1, 2013, Russ Michaels wrote: > > > > > Dump them all to a file, then view the file. > > > > Regards > > Russ Michaels > > www.michaels.me.uk > > www.cfmldeveloper.com - Free CFML hosting for developers > > www.cfsearch.com - CF search engine > > On Apr 1, 2013 6:36 PM, "Rick Faircloth" > > <[email protected]<javascript:;>> > > wrote: > > > > > > > > I wouldn't think this would be that difficult! Normally, I would include > > > variables in a struct (when I'm using AJAX, whichis almost always) and > > view > > > the variables when they're returned to the calling page. However, there > > are > > > times, like right now, when I just want to have a look at allthe argument > > > variables that a CFC is receiving and verify their accuracy. Isn't there > > an > > > easy way to do this? I'm using CF 9. Thanks! Rick > > > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355222 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

