On Mon Nov 28 17:32:00 2011, craigberry wrote: > In 5.14.2: > > % cat foo.pl > use strict; > my $x = 'hello world'; > print "$x\n"; > % perl -d foo.pl > > Loading DB routines from perl5db.pl version 1.33 > Editor support available. > > Enter h or `h h' for help, or `man perldebug' for more help. > > main::(foo.pl:2): my $x = 'hello world'; > DB<1> c 3 > main::(foo.pl:3): print "$x\n"; > DB<2> q > > Everything is peachy. But in blead it breezes past the breakpoint > without stopping: > > % ./perl -Ilib -d foo.pl > > Loading DB routines from perl5db.pl version 1.34 > Editor support available. > > Enter h or 'h h' for help, or 'man perldebug' for more help. > > DB<1> c 3 > hello world > Debugged program terminated. Use q to quit or R to restart, > use o inhibit_exit to avoid stopping after program termination, > h q, h R or h o to get additional info. > DB<2> q > > And if I do a C<b 3> followed by C<c>, which should be equivalent to > C<c 3>, the breakpoint apparently fires but does not display the > source line without the addition of an explicit list command: > > % ./perl -Ilib -d foo.pl > > Loading DB routines from perl5db.pl version 1.34 > Editor support available. > > Enter h or 'h h' for help, or 'man perldebug' for more help. > > DB<1> b 3 > DB<2> c > DB<2> l > 3==>b print "$x\n"; > 4 > DB<2> s > hello world > Debugged program terminated. Use q to quit or R to restart, > use o inhibit_exit to avoid stopping after program termination, > h q, h R or h o to get additional info. > DB<2> q > > which turns out to be just a subset of the fact that no line display > happens at all when stepping through the code in the debugger that > currently ships with blead. That latter bug has been fixed with commit bdba49ad0. ‘c 3’ is still broken. -- Father Chrysostomos