This is a great suggestion if you are debugging startup issues. It is not required to 
start with
ONE_PROCESS if you are debugging request processing.  Just attach the debugger (via 
task manager) to
the child process (it is typically the larger of the two).  You can also id the child 
proces by the
pid stored in httpd.pid.  httpd.pid stores the pid of the PARENT process, so the other 
Apache
process is the child to attach to.

Bill

> Here is a typical command line
>
> apache -D ONE_PROCESS -f [path to the conf file]
>
> Using this command line you will be able to set breakpoints and have
> them actually work.  Otherwise multiple processes will be started and
> then debgging becomes a PAIN...
>
> Christian
>
> On Tue, 8 May 2001 09:22:03 -0700 , you wrote:
>
> >hi.
> >I was just wondering how to go about debugging apache2
> >inside of Visual C++'s IDE. I set a breakpoint but it never
> >gets hit.
> >
> >any pointers???
> >
> >also if anyone has tips about using the profiler in win32.
> >
> >Thanks
> >
> >Ian
>
>

Reply via email to