in reply to right usage of #line ??
Just an idea: I seem to remember that perl5db.pl is using a hash to associate line numbers and op tree entries source lines for caching.
Line 3 will point to the #shebang line which has no conflicts (comments are never compiled)
Having multiple sequences of op-codes with the same line number is not only bad practice but a bug in my books.
PLEASE use a linenumber/file pointing to a reasonable code explaining what is happening.
The debugger will just show the static lines found in the file system.
It will not try to deparse your evaled code.
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: right usage of #line ??
by jjmoka (Beadle) on Sep 10, 2015 at 07:19 UTC | |
by jjmoka (Beadle) on Sep 14, 2015 at 19:47 UTC |