What sort of IDE, debugger, and platform are you using?

Personally for debugging handlers I find it easier to just stick a line like: warn "got here, r=$r\n"

then just tail -f the error_log. Proper old school. Then again I develop with vi on an 80x24 terminal, am I missing out on something?

John

Ken Perl wrote:

hi,
I'd like to set a breakpoint at the first line in the module's handler,
sub handler {
       my $r = shift;       <-- here
        ...  ...
      $r->set_handlers(PerlResponseHandler => \&contentHandler);
}

So, I tried PerFixupHandler, PerlHandler  and PerlInitHander
respectively in below Location directive, but all didn't stop at the
point I wanted, instead, It always stopped at  the line of
'&contentHandler',
               <Location />
                       PerlInitHandler +Apache::DB
               </Location>

what I did wrong?

--
perl -e 'print unpack(u,"62V5N\"FME;G\!E<FQ`9VUA:6PN8V]M\"[EMAIL PROTECTED]
")'


Reply via email to