Eric S. Johansson wrote:
> 127.0.0.1 - - [28/Dec/2005:13:33:34 --500] "POST /igs/get_paper
> HTTP/1.1" 500 0 "http://localhost:8080/igs/get_paper" "Mozilla/5.0
> (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051010 Firefox/1.0.7
> (Ubuntu package 1.0.7)"
>
> when a cgi crashes hard, all I get is a 500 message with no clue
> (python stack trace, debugging messages etc.) about what happened.
> My usual way of debugging in the circumstances is to put in
> literally dozens of syslog statements until I managed to find my way
> to the source of the error. Needless to say, this is a painful
> debugging process. I've tried all sorts of techniques of getting
> something out to display but nothing works.
>
> suggestions?
My understanding is that Cherokee can't do much on that.
I usually have to spread awful things like this along the code I
need to debug. :-(
echo "<h1>I'm here: val=$val</h1>"; die;
Anyway, I know that Jonathan or Pablo are subscribed to the list,
(they are the one of best web developers I have ever met..) so
hopefully they will have some tricks and advices ;-)
--
Greetings, alo.
http://www.alobbs.com
_______________________________________________
Cherokee mailing list
[email protected]
http://www.alobbs.com/cgi-bin/mailman/listinfo/cherokee