Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: debugger is not stopping at postponed breakpoints

by 5haun (Scribe)
on Mar 10, 2017 at 20:54 UTC ( [id://1184220]=note: print w/replies, xml ) Need Help??


in reply to debugger is not stopping at postponed breakpoints

I stumbled into this one today on Perl 5.22.1. The issue with this defect is 'b postpone' is the only way I'm aware of setting a breakpoint before a required module is loaded (in the case of code which uses runtime loading of module via Module::Load::load()). Anyone have any workarounds?

update: the quickest workaround really isn't one, but it works - if one can continue to just after where the module(s) are loaded, then one can set a normal breakpoint. I'm still going to have engineers who whine about having to enter one more command though until this gets fixed and backported to 5.22. :-/
  • Comment on Re: debugger is not stopping at postponed breakpoints

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2024-04-19 09:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found