I don't think that is what he was asking... He asked if there was a way to attache the DEBUGGER to a specific pid; he did not address the issue of getting the correct input to that pid.

I do not use the debugger [but embed debugging code to be switched on/off], I cannot answer the question.

Christian Werner

-----Original Message-----
From: Perrin Harkins [mailto:perrin@elem.com]
Sent: Monday, March 06, 2006 1:44 PM
To: Gokul P. Nair
Cc: modperl_users
Subject: Re: Apache::DB - What am I doing wrong?

On Mon, 2006-03-06 at 11:31 -0800, Gokul P. Nair wrote:
> In other words, is there any way to attach the perl debugger with a
> specific httpd pid, without having to restart Apache in a single
> worker thread mode to ensure that the perl debugger attaches to the
> right httpd pid?

No.  You have no control over which process will handle a request if you
are running with multiple processes.

- Perrin