launch ptkdb


Patch Apache::DB to launch ptkdb instead of perldb

        --- DB.pm	Mon Sep 22 18:06:55 2003
        +++ DB.ptkdb.pm	Mon Sep 22 18:07:09 2003
        @@ -26,7 +26,7 @@
 
             init();
 
        -    require 'Apache/perl5db.pl';
        +    require 'Devel/ptkdb.pm';
             $DB::single = 1;
 
             if (ref $r) {
        

Start Apache with debugging flag

        matt@vrip ~ 111> ./ad-talk/apache/bin/httpd -D PERLDB
        [notice] Apache::DB initialized in child 1707
        matt@vrip ~ 112>
        

ptkdb window will appear when request occurs

(no screenshots available)

Debug just like you would ordinary perl

Notice that:

To kill debugger:

Do a window kill.


back | toc | next

(c) 2003 matt lanier, matt@lanier.org. Licensed under the same terms of perl itself