Well, I've found something that may allow me to use the Perl debugger,
Apache::DB. However now that I'm trying to use it I can't seem to load apache, I get the following error:
[root@slinux bin]# ./httpd -X -D PERLDB
[notice] Apache::DB initialized in child 2257
Syntax Error on line 999 of /usr/local/apache/conf/httpd.conf:
No DB::DB routine defined at /usr/local/lib/perl5/5.8.0/Exporter/Heavy
+.pm line 4.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/5.8.0/Export
+er/Heavy.pm line 4.
Compilation failed in require at /usr/local/lib/perl5/5.8.0/Export.pm
+line 16.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/i6
+86-linux-thread-multi/DBI.pm line 255.
Compilation failed in require at (eval 8) line 3.
With that Apache dies. The following is lines 983 - 994:
<IfDefine PERLDB> #Line 983
<Perl>
use Apache::DB ();
Apache::DB->init;
</Perl>
<Location />
PerlFixupHandler Apache::DB
</Location>
</IfDefine> #Line 994
I'm at a bit of a loss to explain this since I've never corectally set it up before. The code above is essentially a copy-paste from one of the mod_perl docs that talks about debugging.
Thanks for any advice you can give.
My code doesn't have bugs, it just develops random features.
Flame ~ Lead Programmer: GMS (DOWN) | GMS (DOWN)
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.