I used to be able to do:
use Enbugger;
use Devel::Trace;
$Devel::Trace::TRACE = 0;
# then later:
$Devel::Trace::TRACE = 1;
... and get traces starting at certain points in the program. This
works with 1.03 but not 2.009. No trace output appears. Adding a call
to Enbugger->stop drops me in the perl 5 debugger rather than engaging
Devel::Trace.
Specifying which debugger to use, since it won't trust me to load one
myself, also fails:
Enbugger->load_debugger('Devel::Trace');
Can't locate Enbugger/Devel/Trace.pm in @INC (@INC contains:
/home/scott/lib/perl5/site_perl/5.12.0/i686-linux
/home/scott/lib/perl5/site_perl/5.12.0
/home/scott/lib/perl5/5.12.0/i686-linux /home/scott/lib/perl5/5.12.0
/home/scott/lib/perl5/site_perl/5.8.9
/home/scott/lib/perl5/site_perl/5.8.8
/home/scott/lib/perl5/site_perl/5.8.6 /home/scott/lib/perl5/site_perl .)
at /home/scott/lib/perl5/site_perl/5.12.0/i686-linux/Enbugger.pm line 266
Devel::Trace plus Enbugger is great for debugging systems you don't have
access to. It's also great for creating execution logs of part of a
program that sometimes fails so you can diff a failing and non-failing
execution to see where the execution paths diverged.
Anyway, cheers. Hope you've been well since YAPC.