Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

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?

Replies are listed 'Best First'.
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?

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (8)
As of 2021-04-22 15:20 GMT
Find Nodes?
    Voting Booth?

    No recent polls found