in reply to Re^4: using perldb (neither 'b compile' nor 'b postpone' seem to work)
in thread using perldb

I'm still testing and didn't come to a conclusion why it's broken, but I wanted to give a feedback now:

b postpone PKG::SUBNAME is definitely translated into b SUBNAME after a require or use . Inspecting the breakpoints with L shows exactly the same effect like a manual b SUBNAME after the require.

Difference is that the former just don't break. (???)

I'll try to generate an automated test, probably someone can run it via perlbrew on different versions. (I need a way to direct the output into a parsable variable)

I'll also try to look into the internal DB::data-structures of perl5db.pl

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

Replies are listed 'Best First'.
Re^6: using perldb ( 'b postpone' weirdly broken)
by karlgoethebier (Abbot) on Sep 09, 2021 at 05:16 UTC
    « I'll try to generate an automated test, probably someone can run it via perlbrew on different versions.»

    Why not.

    1. Post which versions you want
    2. Post the automated test(s)
    3. I’ll run it/them
    4. Feel free to correct me if I’m wrong

    As I tested some of BUK‘s stuff I see no reason why I shouldn’t do that for you. As it is for the good cause.

    «The Crux of the Biscuit is the Apostrophe»