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.

% < 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::new
DB<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::new
DB<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)
UNEXPECTEDLY did not stop at File::Temp::new
DB<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)
STOPPED at File::Temp::new as EXPECTED

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=130361

In reply to debugger is not stopping at postponed breakpoints by jkahrman

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.