How to Display Data Structures in ASP?

Discussion in 'ASP General' started by Joe Williams, Jan 30, 2008.

  1. Joe Williams

    Joe Williams Guest

    I'm writing a web application in plain ASP with VBScript, and I frequently
    want to display the contents of a data structure that I've created, for
    debugging purposes. In Perl, I can include a library called Data::Dumper
    and add a couple of lines of code, and it will format for display any
    arbitrarily complex data structure. Takes about 10 seconds to accomplish.
    I've been unable to find anything for ASP that does the same or similar
    thing. Does such a debugging tool exist? How do you look at your
    complex data structures?

    Thanks.
     
    Joe Williams, Jan 30, 2008
    #1
    1. Advertising

  2. Joe Williams wrote:
    > I'm writing a web application in plain ASP with VBScript, and I
    > frequently want to display the contents of a data structure that I've
    > created, for debugging purposes. In Perl, I can include a library
    > called Data::Dumper and add a couple of lines of code, and it will
    > format for display any arbitrarily complex data structure. Takes
    > about 10 seconds to accomplish. I've been unable to find anything for
    > ASP that does the same or similar thing. Does such a debugging tool
    > exist? How do you look at your complex data structures?
    >

    By "data structures", I assume you are talking about classes or arrays,
    not database structures.

    Response.Write is it, unless you are using Visual Studio's debugger.

    This might be helpful:
    http://support.microsoft.com/kb/299986/EN-US/
    --
    Microsoft MVP -- ASP/ASP.NET
    Please reply to the newsgroup. The email account listed in my From
    header is my spam trap, so I don't check it very often. You will get a
    quicker response by posting to the newsgroup.
     
    Bob Barrows [MVP], Jan 30, 2008
    #2
    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. Olav Tollefsen

    How to display nested structures?

    Olav Tollefsen, Dec 26, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    356
    Victor Garcia Aprea [MVP]
    Dec 27, 2003
  2. James
    Replies:
    3
    Views:
    348
    Kevin Goodsell
    Nov 27, 2003
  3. tweak
    Replies:
    14
    Views:
    2,789
    Eric Sosman
    Jun 11, 2004
  4. Alfonso Morra
    Replies:
    11
    Views:
    722
    Emmanuel Delahaye
    Sep 24, 2005
  5. Woland99
    Replies:
    3
    Views:
    165
    smallpond
    Sep 1, 2008
Loading...

Share This Page