RE: local variable dump?

2002-02-27 Thread David Schmidt

Ah, if wishes could come true...
Unfortunately, I don't believe you can loop through the variables or client
scopes.

__
Why Share?
  Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: local variable dump?

2002-02-27 Thread Pascal Peters

The local (variables.) scope is not a structure, so you cannot retreive 
them automatically. You can see them using the debugger in CFStudio.

-Original Message-
From: Tyler Silcox [mailto:[EMAIL PROTECTED]]
Sent: woensdag 27 februari 2002 18:06
To: CF-Talk
Subject: QQ: local variable dump?


Is it possible to dump/loop through local variables?  As I've said many
times on this list, cfdump is a godsend for debugging, but I have not 
found
a way to loop through all my local/varaible scoped variables yet...

Tyler Silcox
email | [EMAIL PROTECTED]


__
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: local variable dump?

2002-02-27 Thread Stephen Moretti

 Ah, if wishes could come true...
 Unfortunately, I don't believe you can loop through the variables or
client
 scopes.


Client variables you can.  Use GetClientVariablesList() if CFDump doesn't
work.

Server variables are the other scope that you cannot CFDUMP.

Regards

Stephen
__
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: local variable dump?

2002-02-27 Thread David Schmidt

Yes.  I knew about the GetClientVariablesList.  But that is not quite the
same code as a standard loop over the structure.


-Original Message-
From: Stephen Moretti [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 27, 2002 9:53 AM
To: CF-Talk
Subject: Re: local variable dump?


 Ah, if wishes could come true...
 Unfortunately, I don't believe you can loop through the variables or
client
 scopes.


Client variables you can.  Use GetClientVariablesList() if CFDump doesn't
work.

Server variables are the other scope that you cannot CFDUMP.

Regards

Stephen

__
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: local variable dump?

2002-02-27 Thread Jon Hall

The only problem is that in order to do this, since client variables are
stored in a database or the registry. For every single page request CF would
have to do a database query or read the registry and build that structure.
That's a big performance hit.
Perhaps if they made it an optional thing in the CF admin, like the Disable
global client variable updates option, then i'd think it is a good idea. The
problem is that would confuse the API a bit, the docs would all have to have
a little *, so people would know to check to see if that option was
enabled...
I usually just store a wddx packet as the client variable, then it's only
one line of code to turn the client variable I'm after into a nice struct.

jon
- Original Message -
From: David Schmidt [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Wednesday, February 27, 2002 1:26 PM
Subject: RE: local variable dump?


 Yes.  I knew about the GetClientVariablesList.  But that is not quite the
 same code as a standard loop over the structure.


 -Original Message-
 From: Stephen Moretti [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, February 27, 2002 9:53 AM
 To: CF-Talk
 Subject: Re: local variable dump?


  Ah, if wishes could come true...
  Unfortunately, I don't believe you can loop through the variables or
 client
  scopes.
 

 Client variables you can.  Use GetClientVariablesList() if CFDump doesn't
 work.

 Server variables are the other scope that you cannot CFDUMP.

 Regards

 Stephen

 
__
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists