in reply to Catalyst (app_)server.pl hangs a lot
The dev server is generally just for testing but it’s also pretty robust and some devs have deployed it to production.
The only times I’ve seen the sort of thing you describe is when doing wonky fork/self-referential code. A potential help would be to add a -k to the command line in case things are just blocking somewhere. You could also start with perl -MCarp::Always script/myapp_server.pl ....
Barring success with that, and not being a perl -d kinda dev unless backed into a corner, I tend to remove new code to get back to a functioning version and then progressively return things till I discover the fail point. I have hardly had to do this since becoming more serious about writing tests for individual pieces before trying to mix them. Skipping test writing is a false economy and there is a wealth of test appliances for Perl and Catalyst.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Catalyst (app_)server.pl hangs a lot
by miguelele (Beadle) on Nov 03, 2011 at 21:47 UTC | |
by Anonymous Monk on Nov 04, 2011 at 03:49 UTC | |
by miguelele (Beadle) on Nov 04, 2011 at 21:09 UTC | |
by Anonymous Monk on Nov 04, 2011 at 23:28 UTC | |
by miguelele (Beadle) on Nov 05, 2011 at 00:36 UTC | |
|
Re^2: Catalyst (app_)server.pl hangs a lot
by miguelele (Beadle) on Nov 05, 2011 at 15:03 UTC | |
|
Re^2: Catalyst (app_)server.pl hangs a lot
by miguelele (Beadle) on Nov 07, 2011 at 22:37 UTC |