perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Vanasco <>
Subject Re: Apache::DB - What am I doing wrong?
Date Mon, 06 Mar 2006 20:05:03 GMT
i've never used the debugger, so this is a shot in the dark:

	push the pid into a textfile / sql / sqlite
	do a sql/sqlite lookup at the start of the request
	attach the debugger if the current pid is in the result, detach/ 
notihing otherwise


On Mar 6, 2006, at 3:00 PM, Perrin Harkins wrote:
> The one isn't much good without the other.
> In theory, something elaborate could be done with signals in order to
> tell the debugger to activate (you'd have to write some XS code),  
> or you
> could put something in the URL that triggers it in a handler, but you
> still have to send a request to that specific process.
> In short, it's a lot of trouble.  What's the problem you're trying to
> solve, Gokul?  Restarting with -X is usually not a big deal for a
> developer.
> - Perrin

View raw message