O great Perl Monks —
I beg forgiveness yet again. I make mistakes which is why debuggers are important to me.
What I cite below always gives the first COP on a line. This is not necessarily the place you are stopped at. And this was the whole point of this.
Again for reference....
I beg forgiveness for my feeble mind. I now realize I somewhat had the answer before me all along, but had somewhat lost the courage of conviction.
The answer I seek is in the value of the numeric value of @DB::dbline array. I don't recall the meditation yielding this, let alone if this is part of a public API or an implementation artifact that should not be relied upon. For this, I seek further guidance.The below is for reference:
Persuing one of the avenues described in Identifying a location with finer granularity than a line number, I ponder how to get the B:OP Code address (analogous to a Program Counter in Assembly Code) in a running Perl program?
Thanks
In reply to How can I get the current OP address (akin to PC)? by rockyb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |