Reported as RT 130361
The perl debugger is not stopping at postponed breakpoints in a perl 5.20.2 that we've built from source on CPAN.
I'm not sure where to begin debugging the issue. I've examined the perldoc for perldebug and perldebguts, and grepped through the perldelta's in our build and haven't found anything (though I barely understand a lot of perldebguts).
It was suggested to me via "Chatterbox" that 1163165 is related, but I don't follow how.
UNEXPECTEDLY did not stop at File::Temp::new% < perl5.20.2 > -dwe0 main::(-e:1): 0 DB<1> b File::Temp->new Subroutine File::Temp not found. DB<2> b postpone File::Temp::new DB<3> use File::Temp DB<4> x File::Temp->new 0 File::Temp=GLOB(0x283db48) -> *File::Temp::$fh FileHandle({*File::Temp::$fh}) => fileno(3)
UNEXPECTEDLY did not stop at File::Temp::newDB<5> b postpone File::Temp::new DB<6> x File::Temp->new 0 File::Temp=GLOB(0x216aa78) -> *File::Temp::$fh FileHandle({*File::Temp::$fh}) => fileno(3)
UNEXPECTEDLY did not stop at File::Temp::newDB<7> B * Deleting all breakpoints... DB<8> b postpone File::Temp::new DB<9> x File::Temp->new 0 File::Temp=GLOB(0x216abc8) -> *File::Temp::$fh FileHandle({*File::Temp::$fh}) => fileno(3)
STOPPED at File::Temp::new as EXPECTEDDB<10> b File::Temp::new DB<11> x File::Temp->new File::Temp::new(/.../lib/5.20.2/File/Temp.pm:885): 885: my $proto = shift; DB<<12>> c 0 File::Temp=GLOB(0x216aeb0) -> *File::Temp::$fh FileHandle({*File::Temp::$fh}) => fileno(3)
Update
I'm not sure why it didn't occur to me before, but we have local perl installations (that we don't use) that come with our Linux machines. The local install of perl 5.20.2 has the same issue. I'm going to report this as a bug.Update 2
Reported as https://rt.perl.org/Ticket/Display.html?id=130361In reply to debugger is not stopping at postponed breakpoints by jkahrman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |