Debugging Perl - using the available debuggers

Debugging Perl - using the available debuggers

By Gabor Szabo (‎szabgab‎) from Israel.pm
Date: Thursday, 24 July 2003 09:00
Duration: 40 minutes
Language:



There are lots of people who are adding print lines to
their code in order to debug it. There is nothing bad about
those print statements but there are other ways to debug your
code that sometimes make more sense.

I am going to pick up some sample program with a few bugs and use
various tools to debug the code. First I'll give a few ideas how
to improve your print statements if you prefer to stay with them.
Then I'll give a short introduction to the built-in debugger of perl
and we see how we can use it to debug our code.

Finally I'll give an introduction to Tk based graphical debugger,
Devel::ptkdb of Andrew E.Page. In this part I'll show how to use the
GUI tool for basic debugging and then I go on and show a couple of
additional features not in the basic set of operations, that might be
helpful. I'll show how you can use the powerful macro language that
comes with this tool.



Template talk/show last modified at 12:26:25 27-Jul-2013
All content copyright © 2003 Yet Another Society, Inc.
for any question about this site or YAPC::EU 2003, mail to <yapc-help@mongueurs.net>.
XHTML and CSS validation.