Enumerate Local Variable Scope

Discussion in 'ASP General' started by Chris Hohmann, Jul 23, 2003.

  1. 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
    Chris Hohmann, Jul 23, 2003
    #1
    1. Advertising

  2. Chris Hohmann

    Ray at Guest

    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
    >
    >
    Ray at, Jul 23, 2003
    #2
    1. Advertising

  3. "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
    Chris Hohmann, Jul 23, 2003
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Hoi Wong
    Replies:
    8
    Views:
    1,083
    P. Lepin
    Feb 21, 2008
  2. Johan Grönqvist

    Creating a local variable scope.

    Johan Grönqvist, Sep 11, 2009, in forum: Python
    Replies:
    14
    Views:
    548
    Albert van der Horst
    Sep 24, 2009
  3. soler
    Replies:
    0
    Views:
    204
    soler
    May 25, 2006
  4. David Filmer
    Replies:
    19
    Views:
    224
    Kevin Collins
    May 21, 2004
  5. Andrew Falanga
    Replies:
    2
    Views:
    191
    Andrew Falanga
    Nov 22, 2008
Loading...

Share This Page