Doug MacEachern wrote:
> On Thu, 20 Sep 2001, Stas Bekman wrote:
>
> does it work manually, like so?
>
> % gdb ~/foo/apache/bin/httpd
> (gdb) run -DONE_PROCESS -d ~/foo/modperl-2.0/t -f
> ~/foo/modperl-2.0/t/conf/httpd.conf -DAPACHE2 -DPERL_USEITHREADS
Yes, it does.
(gdb) run -DONE_PROCESS -d ~/apache.org/test/t -f ~/apache.org/test/t/conf/httpd.conf
-DAPACHE2 -DPERL_USEITHREADS
Starting program: /home/stas/httpd/2.0/bin/httpd -DONE_PROCESS -d ~/apache.org/test/t
-f ~/apache.org/test/t/conf/httpd.conf -DAPACHE2 -DPERL_USEITHREADS
[New Thread 1024 (LWP 3750)]
Program exited normally.
(gdb)
Now I've seen that I can run it normally as well but I've waited for
about 5 minutes before I was able to run ./t/TEST -run with ./t/TEST
-debug in the other console. Before that I was always getting:
server is not ready yet, try again.
does it work immediately for you?
I think I have seen this before, with gdb reporting dying threads, when
running under threaded mpm.
This is with GNU gdb 20010625, perl 5.7.2 patch 12067, apache from
yesterday (not sure how to specify the patch level)
BTW, gdb hangs for real since I cannot ^C it, only suspend. So your
trick of ^C it and setting the breakpoint for mod_perl internal
functions doesn't seem to be feasible :(
_______________________________________________________
Stas Bekman JAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide http://perl.apache.org/guide
mailto:[EMAIL PROTECTED] http://apachetoday.com http://eXtropia.com/
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]