Could always change your dump function, to loop through the variables
scope and do an isCustomFunction() check on each key if it is then
remove that key form teh variables, if not leave it there. Then do teh
dump function.

 Since it only happens when you get an error, it shouldnt take too
much processesing, and you would not have to change yer code too much


On Mon, 13 Dec 2004 13:32:32 -0600, Dawson, Michael <[EMAIL PROTECTED]> wrote:
> Copy them to the request or another scope, then delete their reference
> in the variables scope.
> 
> Something like:
> 
> <cfset request.function1 = cflibFunc>
> <cfset structDelete(variables, "cflibFunc")>
> 
> I'm not sure if this will work exactly as I have written it, however.
> 
> One other solution is to store all of your page variables in a struct.
> Then, you can dump only that struct and ignore all other
> variables-scoped variables.
> 
> M!ke
> 
> 
> 
> -----Original Message-----
> From: Damien McKenna [mailto:[EMAIL PROTECTED]
> Sent: Monday, December 13, 2004 1:10 PM
> To: CF-Talk
> Subject: CFDUMP var=variables shows custom functions?
> 
> I have an error tracker on my code that emails me a dump of just about
> everything.  Today, on one site, I started including all of the
> CFLib.org files for all page requests rather than as needed.  Nice idea,
> except that now my email error dumps are twenty times larger than
> before, all because the UDFs are listed in the 'variables' portion of
> the dump and list a complete function prototype.  While this may be
> useful for some, I would prefer not to be receiving 1meg emails for each
> error.  Is there any way to stop CFMX listing UDFs in the 'variables'
> scope?
> 
> --
> Damien McKenna - Web Developer - [EMAIL PROTECTED] The
> Limu Company - http://www.thelimucompany.com/ - 407-804-1014 #include
> <stdjoke.h>
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187466
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to