I'd probably install a wrapper which only calls the original code if my conditions are met or manipulates $DB::deep before calling.*
See http://search.cpan.org/dist/perl-5.8.7/lib/perl5db.pl#sub
and perldebguts#Writing-Your-Own-Debugger
*) alternatively setting $DB::single to 2 corresponds to the n cmd. Use local to avoid global effects.
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!
In reply to Re: Driving maniacally with the debugger
by LanX
in thread Driving maniacally with the debugger
by ExReg
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |