Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Becoming familiar with a too-big codebase?

by eXile (Priest)
on Jun 15, 2005 at 14:04 UTC ( #466919=note: print w/ replies, xml ) Need Help??


in reply to Becoming familiar with a too-big codebase?

Since you specifically asked for CGI debugging, i googled for 'CGI debug' and found CGI::Debug, never used it, but it seems to be able to give you quite some output on what happens at the CGI-level.

I think I'm going to give it a try in my own day-to-day CGI debugging.


Comment on Re: Becoming familiar with a too-big codebase?
Re^2: Becoming familiar with a too-big codebase?
by adamk (Chaplain) on Jun 16, 2005 at 12:10 UTC
    CGI::Debug just dumps information to the browser.

    What you probably _really_ want (esp for the file upload stuff) is CGI::Capture, which is the anally-retentively-accurate record and playback module for CGI calls.

    Add the CGI::Capture line to the script pointing at a file, and after you do the first call to the CGI, it will replay the same request over and over, and if you run the CGI script from the console it will do a whole bunch of checks to make sure you are doing the debugging as accurately as possible.

    And because it works at the filehandle level, it isn't even dependant on CGI. You should be able to use it with anything.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (9)
As of 2014-11-26 06:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (163 votes), past polls