write all defined vars and their values to page?

  • Thread starter Bart Plessers \(artabel\)
  • Start date
B

Bart Plessers \(artabel\)

Hello,

for debugging purposes, I am wondering if it is possible to have an ASP
script that
-creates a tabel with two columns
-writes a var name in the first column
-writes its value in the second column

is this possible?
Right now, I have manually created this tabel for myself, but everytime a
new var is defined, I have to update my 'debug' table.
Can this be automated?

tia
bartp
 
R

Ray at

You will have to continue to do it manually. There is no "variables"
collection to loop through or anything, unfortunately.

Ray at home
 
C

Chris Hohmann

Bart Plessers (artabel) said:
Hello,

for debugging purposes, I am wondering if it is possible to have an ASP
script that
-creates a tabel with two columns
-writes a var name in the first column
-writes its value in the second column

is this possible?
Right now, I have manually created this tabel for myself, but everytime a
new var is defined, I have to update my 'debug' table.
Can this be automated?

Hmm.... great minds think alike. :)
http://groups.google.com/[email protected]

Eval'ing the items in a watch list has worked well for me. It has turned
out to be a better solution that enumerating all the local variables,
since I can focus my attention on a select few "suspects". YMMV.

-Chris Hohmann
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top