-
Notifications
You must be signed in to change notification settings - Fork 553
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
${"_<a.pl"}[$i] no longer numerical for pragmas
#21564
Comments
|
I'm unclear as to how to reproduce this output. Even with a What am I missing? |
|
@jkeenan The name of the array needs to match the name of the source file. Your source file is named What you're seeing is the dump of an unset variable, basically. |
@mauke, thanks for that clarification. But now I'm seeing even fewer elements in the I only get 2 flags where he got 4. In any case, we'll have to figure out a way to bisect this. |
The problem was originally written in terms of That's not relevant to the issue. |
There shouldn't be many changes to the debugger between 5.34 and 5.36, I say with the confidence of the ignorant. |
|
It's not (directly) a change to the debugger that caused it. As to bisecting: I don't remember why I turned off IOK. Edit: add (trivial) Devel::D21564 source |
These are meant to be IOK even when non-breakable, and I broke that when fixing Perl#19198. Fixes Perl#21564
These are meant to be IOK even when non-breakable, and I broke that when fixing Perl#19198. Fixes Perl#21564
Based on Tony Cook's example in Perl#21564 (comment).
Based on Tony Cook's example in Perl#21564 (comment).
Based on Tony Cook's example in Perl#21564.
Based on Tony Cook's example in #21564.
See https://www.perlmonks.org/?node_id=11154956
perldebguts says:
The last bit is not always true since 5.36.
Take the program
In 5.36 and 5.38, we see:
Note that lack of
IOKfor line 6? It should look like line 5.This also means that only the lines with pragmas are broken.
This is a deviation from 5.34. In 5.34, we see
(Same goes at least as far back as 5.10.)
So they were breakable in 5.34, but not in 5.36. Sounds like a valid bug fix. But it sounds like the person that fixed this forgot to set
IOKwhen making that change.The text was updated successfully, but these errors were encountered: