Variable dump for error checking

Find out why the . goes before the /

Moderator: Paul Tuersley

Post Reply
byronnash
Posts: 321
Joined: July 7th, 2004, 2:30 pm
Location: Charlotte, NC
Contact:

I'm trying to build in some error reporting via a log file into one of my scripts. I'm catching the errors and writing them to a text file along with some periodic feedback items I've written in manually. Is there a way to sort of dump all the variables that have been defined up to the point of error? It would be handy to know what all is being used in the script at the point where it crashes. Very often the script gets used with faulty inputs on the client side. Being able to see those at a glance would really help in debugging problems.

Thanks!
Post Reply