httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roy T. Fielding" <field...@ebuilt.com>
Subject Re: [PATCH] Add back -X functionality
Date Thu, 21 Jun 2001 20:36:27 GMT
> if -X causes DEBUG to be defined and prefork uses that as a hint to do
> ONE_PROCESS, that sounds perfectly fine to me.

Me too.  +1 on the patch.

> and when will unix thread debugging catch up with the 1980s?  i was
> debugging multithreaded programs with ease on OS/2 1.x over a decade ago.
> 
> btw, even though -X exists, i frequently debug apache 1.3 by restricting
> it to a single child process and attaching to that child... because some
> of the -X changes alter the behaviour.

Yep, which is why I was surprised to hear that ONE_PROCESS was causing
NO_DETACH to be set as well -- that doesn't make any sense to me.  There
is nothing more frustrating for me than being in the middle of a "how to
debug apache" class and having to explain these new options.  ONE_PROCESS
should mean only one child process, since that's exactly what a developer
needs to attach to a child before a request is sent.  -X should mean that
we are inside a debugger and need all of the options to make stepping
though a process easy.

....Roy


Mime
View raw message