On Thu, Sep 20, 2001 at 02:51:33AM +0800, Stas Bekman wrote:
> Doug have you tried recently to run:
>
> ./t/TEST -d
> ./t/TEST -run
>
> to debug tests? gdb just hangs in:
>
> setting ulimit to allow core files
> ulimit -c unlimited
> exec ./t/TEST -d
> GNU gdb 20010625
> Copyright 2001 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB. Type "show warranty" for details.
> This GDB was configured as "i386-mandrake-linux"...
> [New Thread 1024 (LWP 24533)]
>
>
> and waits for something. If I try to start the tests suite in another
> console it says that the server is not ready yet, while I can see httpd
> running. If I kill httpd, I get:
>
> 0x402df49e in select () from /lib/libc.so.6
> (gdb) Hangup detected on fd 0
> error detected on stdin
>
> Any ideas?
I am experiencing the exact same thing, except if I run ./t/TEST -run a few
times, it eventually picks up that the server is ready, then I get the
hangup in my gdb terminal and all the tests fails as the server just went
away ...strange, it used to work a while ago..
> Another question. What's the simplest way to set a breakpoint from the
> command line for something like mpxs_Apache__RequestRec_no_cache, what
> 'foo' should I set before so Apache::RequestRec will get bootstrapped?
>
> breakpoint foo
> continue
>
> Thanks.
>
>
> _____________________________________________________________________
> 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]
>
--
Philippe M. Chiasson <[EMAIL PROTECTED]>
Extropia's Resident System Guru
http://www.eXtropia.com/
You can solve any problem by adding a level of
indirection--except the problem of having too many levels
of indirection.
-- Larry Wall
perl -e '$$=\${gozer};{$_=unpack(P26,pack(L,$$));/^Just Another Perl
Hacker!\n$/&&print||$$++&&redo}'
PGP signature