Frank Wiles wrote:
I ran into some weird trouble with some code I am working on and wanted to use the Perl debugger to step through the code. I'm working
with on Fedora with Apache 2.0.48 and mod_perl 1.99_12 RPMs from February. I realize I'm not running the latest CVS and wanted to try
and determine if the run away code is mine, one of the CPAN modules
I'm using, or the fault of my older mod_perl 2.0 code.


Apache::DB is trying to use the 1.0 API $r->register_cleanup which
has been changed to cleanup_register in APR::Pool. I tried just
switching that one call, but still no go.

AFAIK, it wasn't ported to mp2. Why don't you port it, I imagine it shouldn't be too hard following these documents:
http://perl.apache.org/docs/2.0/user/porting/porting.html
http://perl.apache.org/docs/2.0/user/porting/compat.html


If you encounter problems don't hesitate to ask.

>   When running httpd -X I do see that the debugging is initialized, but
>   when I issue a request the debugger UI doesn't show up in the
>   terminal running httpd.
>
>   Does anyone know if Apache::DB can be made to work with 2.0 or if
>   there is another way to get the Perl debugger running against my
>   mod_perl 2.0 code?
>
>   Any help on this would be appreciated. Thanks.

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Reply via email to