-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
foreach
will jump to other code in dotnet9
#109812
Comments
dotnet9
foreach
will jump to other code in dotnet9
I have seen this (and stuff like debugger is stepping through both |
cc: @dotnet/dotnet-diag @mikelle-rogers - you might be the most familiar with this codepath right now in case you have cycles. @Coloryr - are there any repros for this? @tommcdon might be a manifestation of #109785. It's async stepping becomes a go and ends up in the next bp set by the user. |
Yes, it will skip most of the code. |
Clean everything did't work. |
Reactivated for backport to 9.0 |
Fixed via #110533 |
Description
When I upgrade the project to
Dotnet9
andforeach
the list, I will jump to other code by myself after the list is not fullyforeach
.dotnet8
https://github.com/user-attachments/assets/5bd3c4cb-2c7f-4b53-ae2f-adc318f6ee80
dotnet9
https://github.com/user-attachments/assets/9ddfc90d-0000-4bc7-a177-d962416d2d83
Reproduction Steps
Expected behavior
foreach every item
Actual behavior
foreach some item and exit all code
Regression?
dotnet9
Known Workarounds
No response
Configuration
windows x64
Other information
No response
The text was updated successfully, but these errors were encountered: