Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Enumerate Local Variable Scope

Reply
Thread Tools

Enumerate Local Variable Scope

 
 
Chris Hohmann
Guest
Posts: n/a
 
      07-23-2003
Does anyone know of a way to enumerate the local variable scope? The
reason I ask is that I have a function that dumps the contents of
response,request,server,etc... for debugging purposes. I'd like to also
display the local variables.

TIA
-Chris


 
Reply With Quote
 
 
 
 
Ray at
Guest
Posts: n/a
 
      07-23-2003
I'd love it if someone replied and said, "That's not true; here's how," but
I do not believe there is any way to loop through a variables collection or
anything like that, other than to just code it yourself.

Although you probably would not want to do this, you could use all session
variables while debugging and loop through them though.

Ray at work

"Chris Hohmann" <hohmannATyahooDOTcom> wrote in message
news:...
> Does anyone know of a way to enumerate the local variable scope? The
> reason I ask is that I have a function that dumps the contents of
> response,request,server,etc... for debugging purposes. I'd like to also
> display the local variables.
>
> TIA
> -Chris
>
>



 
Reply With Quote
 
 
 
 
Chris Hohmann
Guest
Posts: n/a
 
      07-23-2003
"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
news:...
> I'd love it if someone replied and said, "That's not true; here's

how," but
> I do not believe there is any way to loop through a variables

collection or
> anything like that, other than to just code it yourself.
>
> Although you probably would not want to do this, you could use all

session
> variables while debugging and loop through them though.
>
> Ray at work
>
> "Chris Hohmann" <hohmannATyahooDOTcom> wrote in message
> news:...
> > Does anyone know of a way to enumerate the local variable scope? The
> > reason I ask is that I have a function that dumps the contents of
> > response,request,server,etc... for debugging purposes. I'd like to

also
> > display the local variables.
> >
> > TIA
> > -Chris
> >
> >

>
>

Yeah, that's what I thought. I do enumerate the Session and Application
scope as well. I've settled for eval'ing items in a "watch list". Thanks
for the feedback.

-Chris


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating a local variable scope. Johan Grönqvist Python 14 09-24-2009 11:33 AM
Having trouble understanding function scope and variable scope Andrew Falanga Javascript 2 11-22-2008 09:23 PM
XSLT: Is the variable scope of <xsl:if> local? Hoi Wong XML 8 02-21-2008 09:08 PM
enumerate local/domain members from local group soler ASP .Net Security 0 05-25-2006 01:53 PM
How do I scope a variable if the variable name contains a variable? David Filmer Perl Misc 19 05-21-2004 03:55 PM



Advertisments