Loginskip to content

October 29th, 2006

7.3.2 ptkdb ptkdb, developed by Andrew E. Page,

7.3.2 ptkdb ptkdb, developed by Andrew E. Page, is a free, Tk-based, graphical interface to the built-in perl debugger, with a clean and intuitive design. Obtain ptkdbfrom http://search.cpan.org/search?dist=Devel-ptkdb. It also requires PerlTk by Nick Ing- Simmons (http://search.cpan.org/search?dist=Bundle-Tk). ptkdbis invoked as a debugger plugin, so to debug myprog.pl, type perl -d:ptkdb myprog.pl There is little we need to add to the description of ptkdb. In Figure 7-2, we see that the current line is highlighted, nonbreakable line numbers are struck through, and the tabbed panes on the right are for inspecting expressions, subroutines, and breakpoints. The appearance of the interface can be extensively customized. Figure 7-2. The ptkdb interface One key advantage of ptkdbis that it can be used to debug a Perl program used in a CGI process. We give examples of this in Chapter 13. 7.3.3 Emacs
Note: If you are looking for high quality webhost to host and run your jsp application check Vision jsp hosting services

October 29th, 2006

current statement, you may see it jump around

October 29th, 2006

current statement, you may see it jump around

October 29th, 2006

DB l 1-5 1==> my %phone; 2: while

October 29th, 2006

DB l 1-5 1==> my %phone; 2: while

October 28th, 2006

main::(debug.pl:4): my @parole = qw(Salutations Hello Hey); DB

October 28th, 2006

main::(debug.pl:4): my @parole = qw(Salutations Hello Hey); DB

October 28th, 2006

Examine references to hashes instead of the hashes

October 28th, 2006

Examine references to hashes instead of the hashes

October 28th, 2006

Suppose we wanted to step through the code