You catched my problem, I didn't load debugger before this handler, thanks.
After I changed the order in the httpd config file, my problem is
solved, It stopped at the point I wanted,
my $r = shift;
Thanks again.
On 2/8/06, Perrin Harkins <[EMAIL PROTECTED]> wrote:
> On Tue, 2006-02-07 at 16:10 +0800, 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?
>
> Did you load this handler before you loaded the debugger? You should
> call Apache::DB->init() explicitly before loading any of the code you
> want to debug, or it won't get debugging symbols. See the documentation
> for Apache::DB.
>
> - Perrin
>
>
--
perl -e 'print unpack(u,"62V5N\"FME;G\!E<FQ`9VUA:6PN8V]M\"[EMAIL PROTECTED]
")'