Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^6: Debugger line numbering anomalyby lzipin (Acolyte) |
on Dec 25, 2019 at 02:03 UTC ( [id://11110606]=note: print w/replies, xml ) | Need Help?? |
How is db_tst.pl different from what I posted? No, the script doesn't have Windows/DOS line endings. If it did, it wouldn't matter to Linux, if I call it via 'perl script.pl'. But it clearly runs fine on Linux (at least my Xubuntu and Debian installations). And the debugger issues no warnings. What kind of warning could I insert that would help? It's not a runtime problem; it's a problem of the debugger missing a line, and so subsequent line numbers are off by one. I note in the perl5db.pl POD text:
That's pretty clear that the Perl 5.26.1 interpreter is providing a buggered line array. I don't know how to follow up with that, except to upgrade to something newer. -- Lee
In Section
Seekers of Perl Wisdom
|
|