Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: CGI Debugging: always the last place you look.

by Vautrin (Hermit)
on Mar 05, 2004 at 21:59 UTC ( #334385=note: print w/replies, xml ) Need Help??


in reply to CGI Debugging: always the last place you look.

I learned a long time ago that the key to debugging applications -- esp. CGI applications -- is to log information about the state of the program to a file. Using an in house logger with the ability to change verbosity (preferably from the program, i.e. so you can have somebody e-mail you the logs if there are problems) allows looking at a script and seeing exactly what is going on. It can be a pain setting it up, but there is nothing sweeter then saying "there's been 2 emails, and we see from the log that function send_email was called twice"

Want to support the EFF and FSF by buying cool stuff? Click here.
  • Comment on Re: CGI Debugging: always the last place you look.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://334385]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2022-05-22 14:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (80 votes). Check out past polls.

    Notices?