in reply to debugger is not stopping at postponed breakpoints

I have no possibility to test, but I suspect it's related to new features like function signatures.

In a compilation phase they are rewriting the first lines of a functions body.*

Probably your postponed breakpoint happens earlier and points to a line which disappears then.

> I'm not sure where to begin debugging the issue

Otherwise in order to narrow down the cause, you can easily test if it's a problem in the debugger's code.

Perl evaluates (if present) at start up an environment variable pointing to the debugger script to use, normally named perl5db.pl .

It should be possible to run a newer Perl version with an older perl5db.pl, and vice versa.

IIRC the variable is named PERLDB. (to be updated)

HTH! :)

edit

from perlrun#ENVIRONMENT

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!

footnotes

*) See http://www.effectiveperlprogramming.com/2015/04/use-v5-20-subroutine-signatures/ she Brian is using B::Deparse to analyze the generated code.

Replies are listed 'Best First'.
Re^2: debugger is not stopping at postponed breakpoints (Signatures and PERL5DB)
by jkahrman (Acolyte) on Nov 19, 2016 at 16:02 UTC

    File::Temp->new doesn't use 'signatures' and hasn't been modified since 2013. Were you suggesting that it (or a new feature like it) may be loaded when starting the debugger? Or that the debugger has been broken in the process of adding the feature.

    Thanks for the suggestion about focusing on debugging perl5db.pl. I'll have to explore that more.
      This post was by me. I forgot to login.
        > Or that the debugger has been broken in the process of adding the feature.

        This! But it's only a guess.

        Narrowing down the Perl version would help.

        The older thread you linked is another good guess too.

        Hopefully this thread will lead into an official bug report.

        Cheers Rolf
        but (addicted to the Perl Programming Language and ☆☆☆☆ :)
        Je suis Charlie!