Apache::Test for online debugging

[prev] [thread] [next] [Date index for 2005/02/15]

From: Thomas Lochmatter
Subject: Apache::Test for online debugging
Date: 10:24 on 15 Feb 2005
Under mod_perl 1, I used the following simple debugging
framework:
 1. apache calls DebugClient
 2. DebugClient connects to DebugServer (Unix socket)
 3. DebugServer calls the request handler with a fake
Apache object (Apache::FakeRequest) and returns the
response to the DebugClient

If an error occured, the DebugClient displayed the error
instead of the response. When a source file changed, the
DebugServer did the necessary preprocessing of the file and
restarted itself.
This way, I could easily debug my request handler. When I
modified a file and rerun the request, I either saw the new
response or a nicely displayed error message. I did not
have to restart the apache webserver or look for the error
in the log files.

Does a similar framework exist in mod_perl 2?
I have heard about Apache::Test. Is this a solution?

Regards,
Thomas

Apache::Test for online debugging
Thomas Lochmatter 10:24 on 15 Feb 2005

Re: Apache::Test for online debugging
Jim Martinez 19:49 on 15 Feb 2005

Re: Apache::Test for online debugging
Geoffrey Young 20:05 on 15 Feb 2005

Re: Apache::Test for online debugging
Stas Bekman 21:41 on 15 Feb 2005

Generated at 12:48 on 22 Feb 2005 by mariachi v0.52