We don't bite newbies here... much | |
PerlMonks |
[SOLVED] Breakpoints behaviour in some perl versionsby hurricup (Pilgrim) |
on May 16, 2016 at 19:44 UTC ( [id://1163165]=perlquestion: print w/replies, xml ) | Need Help?? |
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
Back to
Seekers of Perl Wisdom
|
|