Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

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

by LanX (Saint)
on Sep 03, 2021 at 16:21 UTC ( [id://11136420]=note: print w/replies, xml ) Need Help??


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

Thanks for your feedback.

I now have the impressions that the b compile breaks actually work, they just stop at the point of compilation (sic) not execution.

I can actually see that postponed breaks are translated to breaks listed with 'L', at least when giving full qualified subnames. They are just not breaking ...

What's making it weirder is that those commands seem to interfere with each other, so I should better untangle the test cases...

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

  • Comment on Re^4: using perldb (neither 'b compile' nor 'b postpone' seem to work)
  • Download Code

Replies are listed 'Best First'.
Re^5: using perldb ( 'b postpone' weirdly broken)
by LanX (Saint) on Sep 07, 2021 at 16:50 UTC
    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

      « 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»

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11136420]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (2)
As of 2024-04-19 19:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found