hurricup has asked for the wisdom of the Perl Monks concerning the following question:
It seems that some perl versions ignoring any breakpoints set in START phase (may be even in any before the RUN one).
Working on debugger I've encountered a problem: with perl 5.22 all pre-set breakpoints works fine if they set on DB package loading, but in 5.18.2 - absolutely ignored. The only solution i've found for 5.18.2 is to set them only in RUN phase.
I'm sure that they are valid and respective @{::_<filename} allowed me to set them.
Can anyone enlighten me about this situation? Am I right? And what is the background here.
P.S. Seems that GLOBAL_PHASE is not an issue here. Something else...
Same problem with Centos 7 + 5.16
Answer from here:
%{'_<...'} hashes now set breakpoints on the corresponding @{'_<...'} rather than whichever array @DB::dbline is aliased to. perl #119799
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Breakpoints and GLOBAL_PHASE ($DB::single)
by tye (Sage) on May 17, 2016 at 02:07 UTC | |
|
Re: Breakpoints and GLOBAL_PHASE
by ikegami (Patriarch) on May 17, 2016 at 01:57 UTC | |
|
Re: Breakpoints and GLOBAL_PHASE
by LanX (Saint) on May 16, 2016 at 20:23 UTC | |
by hurricup (Pilgrim) on May 17, 2016 at 05:31 UTC | |
by LanX (Saint) on May 17, 2016 at 13:41 UTC | |
by hurricup (Pilgrim) on May 17, 2016 at 14:25 UTC | |
by LanX (Saint) on May 17, 2016 at 14:38 UTC | |
|