chicago.pm: Debugging Perl

ziggy on 2003-11-11T16:26:00

inkdroid writes "At the next chicago.pm meeting on Dec 9th @ 7PM Steven Lembark will go over the basics of using the Perl debugger to set breakpoints and interactively examine variables and structures at runtime. He will also cover using $DB::single, $DB::trace (and why to remove them before releasing a module :-). For those who don't enjoy gdb, Steven will also describe how to get/install/use the Perl Tk Debugger (-d:ptkdb). Please join us in our new digs courtesy of WDI. [directions]"


and now for the advertisement...

gabor on 2003-11-12T08:26:55

If you like what you see and you would like to get more of it, there is a mailing list dedicated to issues about the various debugger(s) you can use with Perl.

$DB::single, $DB::trace

doom on 2003-11-20T21:50:35

What are "$DB::single, $DB::trace"? I don't see them up on CPAN.

Re:$DB::single, $DB::trace

doom on 2003-11-21T06:18:56

Ah, I see they're flags in the now standard DB module:

$DB::single
Single-step flag. Will be true if the API will stop at the next statement.


$DB::trace
This flag is set to true if the API is tracing through subroutine calls.