www/p5-Apache-DB 0.18 OpenBSD
interactive debugger for modperl
- System
- OpenBSD
- Repository
- OpenBSD ports
- Maintainer
- The OpenBSD ports mailing-list <[email protected]>
- Categories
- www, devel, perl5
Description
Apache::DB establishes the needed hooks to debug mod_perl code interactively. In order to use it,
- add the following code to httpd.conf, after loading mod_perl.so
<IfDefine PERLDB>
<Perl> use Apache::DB (); Apache::DB->init; </Perl>
<Location /> PerlFixupHandler Apache::DB </Location>
</IfDefine>
- start apache for a debugging session using a line like: httpd -X -DPERLDB -u
Then any perl request will be intercepted by the debugger. Modules such as HTML::Mason have further hooks to get into the debugger at interesting points.
This port also provides some sample configuration code that can start up the debugger or the profiler in a similar way (${PREFIX}/share/Apache/DB/perldb.conf)
In the other systems
The newest version among them is 0.18, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| OpenBSD | www/p5-Apache-DB | 0.18 newest | no data | - | The OpenBSD ports mailing-list <[email protected]> | - |
| DragonFly | www/p5-Apache-DB | 0.18_1 newest | none known | - | [email protected] | - |
Install
Binary package:
pkg_add p5-Apache-DB
From the ports tree:
cd /usr/ports/www/p5-Apache-DB && make install
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.
Dependencies
Run dependencies 1
No port depends on this one.