You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Debug stepping is not right for a loop with a single "print" #12410
Area-Debugstepping, debug points, stacks and moreBugImpact-High(Internal MS Team use only) Describes an issue with extreme impact on existing code.Ready
We have a simple mistake in debug stepping for this simple loop, F11 doesn't step through the loop - it seems to be only when the loop body is a single statement/expression.
leth3 inp =for x in inp do
printfn $"hello, x = {x}"
h3 [1..3]
As soon as you do anything else inside the stepping is fine:
leth3 inp =for x in inp dolety=1
printfn $"hello, x = {x}"
h3 [1..3]
Area-Debugstepping, debug points, stacks and moreBugImpact-High(Internal MS Team use only) Describes an issue with extreme impact on existing code.Ready
Activity
dsyme commentedon Nov 16, 2021
Labelling as a regression as this surely worked in the past. Impact high because it's about the simplest code possible.
dsyme commentedon Nov 20, 2021
Fix of this and numerous other problems related to for-loop stepping is in #12432