Welcome Guest!
 Previous Message All Messages Next Message 
For the few of us wretches who write code with bugs...  lemb-@wrkhors.com
 Nov 10, 2003 12:06 PST 

... I will be describing the Perl debugger.

Admittedly this might at first seem useful only to the tiny proportion
of you who write code with bugs in it. However, if you contemplate
the number of other idio..., er, Otherwise Fine Programmers (tm)
who put bugs in their code the debugger starts to look, well, useful.

I'll go over the debugger basics inside "perl -d" for setting breakpoints
and running code and examining variables and structures. It's also
worth spending a few moments on $DB::single, $DB::trace (and why
to remove them before releasing a module :-).

For those who don't enjoy gdb, I'll also describe how to get/install/use
the Perl Tk Debugger (-d:ptkdb).

But wait, there's more...

The debugger is a nice tool for simply checking code or for one-pass
data munging. I'll go over some tricks for command-line perlyfying
with the debugger.

Note: after the last meeting I was also approached about doing
something with OO Perl. I can pick that up at a later time if people
are interested.

Steven Lembark                               2930 W. Palmer
Workhorse Computing                       Chicago, IL 60647
                                            +1 888 359 3508
 Previous Message All Messages Next Message 
  Check It Out!

  Topica Channels
 Best of Topica
 Art & Design
 Books, Movies & TV
 Food & Drink
 Health & Fitness
 News & Information
 Personal Finance
 Personal Technology
 Small Business
 Travel & Leisure
 Women & Family

  Start Your Own List!
Email lists are great for debating issues or publishing your views.
Start a List Today!

© 2001 Topica Inc. TFMB
Concerned about privacy? Topica is TrustE certified.
See our Privacy Policy.