Item Description: Graphical debugger for perl
Review Synopsis:
Review Synopsis: Good for viewing variables and data structures, and for remote debugging
Devel::ptkdb is a graphical debugger using the Tk toolkit.
Though most of the time a simple print statement in the right place will tell you what's wrong, it's good to have a tool like this at hand.
The 'step in', 'step over' and 'return' buttons make it easy to follow the flow of the running program as you like.
You can see the values of needed expressions all the time, sometimes even inside of one statement, which is not possible for a print statement.
With very few changes to your program you can debug cgi scripts and cron tasks, a feature that comes more with the XWindow infrastructure than with ptkdb, but is nevertheless very useful.
There has been much controversy about debugging lately in the Monastery and I'd rather put dozens of print statements in a program than starting the debugger, but sometimes it can be VERY handy.
For more thoughts on perl debugging have a look at the following nodes:
Are debuggers good?
Are debugging skills atrophying?
Book Review: Debugging Perl
Easy, elemental, but cool debug trick (read the comments)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Devel::ptkdb
by rinceWind (Monsignor) on Mar 06, 2002 at 22:37 UTC | |
Re: Devel::ptkdb
by ralphie (Friar) on Aug 06, 2001 at 03:22 UTC |