![]() |
|
No such thing as a small change | |
PerlMonks |
Debugging mod_perl startupby mreece (Friar) |
on Mar 08, 2007 at 23:00 UTC ( #603908=perlquestion: print w/replies, xml ) | Need Help?? |
mreece has asked for the wisdom of the Perl Monks concerning the following question:
i have found myself in a situation where perl -e 'use MyApp' compiles fine, but
dies with errors. It would be nice if I could use the perl debugger during the apache startup, but the docs for Apache::DB are pretty thin. what strategies might i pursue to figure out why my module fails to load under Apache/1.3.36 (Unix) mod_perl/1.29? i have been skimming http://perl.apache.org/docs/1.0/guide/debug.html but it seems that my options are to use gdb for startup and Apache::DB for debugging requests. is there any way to use the perl debugger during apache startup? update: i have of course verified that @INC is the same in both scenarios.. update 2: i managed to track down my problem the hard way (turns out Rose::DB::Object does things a little differently when $ENV{MOD_PERL}), but the general question still stands: is there any way to use the perl debugger during apache startup?
Back to
Seekers of Perl Wisdom
|
|