perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ken Perl <kenp...@gmail.com>
Subject Re: [MP2] set breakpoint
Date Tue, 07 Feb 2006 08:58:09 GMT
No IDE for me too, I am using vi on a Debian terminal too.
warn is easy and good, I also want a more common and more powerful
interactive debugger tool, now I am trying Apache::DB and have this
trouble.

On 2/7/06, John ORourke <john-modperl@o-rourke.org> wrote:
> 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\"\@``
> >")'
> >
> >
> >
>
>


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

Mime
View raw message