develooper Front page | perl.beginners | Postings from January 2002

Perl debugger window

Thread Previous | Thread Next
From:
Gary Hawkins
Date:
January 17, 2002 13:16
Subject:
Perl debugger window
Message ID:
LOBBIJFNBAGIOILLFAIBAEJHNEAA.ghawk@eskimo.com
I mentioned the perl debugger before but I guess some people would not have had
the GUI version available.  It comes with the Perl Development Kit, so I should
clarify.

Don't know about *n*x but if you installed ActivePerl on Windows, then install
the Perl Development Kit and try:

> perl -d myscript.pl

That opens a window with myscript.pl in a debug session.

Beats print $thisvar; `pause`;
Great in a loop for tough problems.
Educational.
Highlight a var and copy to watch.
Add $var[x] for @var, etc.
Step through script.
Try the 'run to cursor' button.
Set a breakpoint by clicking the margin at that line.

Perl Development Kit:
http://www.activestate.com/Products/Perl_Dev_Kit/

Have fun,

Gary



Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About