In debugging, arguments are always shown instead of locals #12409
Labels
Area-Debug
stepping, debug points, stacks and more
Bug
Impact-Medium
(Internal MS Team use only) Describes an issue with moderate impact on existing code.
Theme-Simple-F#
A cross-community initiative called "Simple F#", keeping people in the sweet spot of the language.
Milestone
Given this:
then when you stop inside the loop, the value
x
shows as10
even though in the loop it is1
,2
,3
. The locals simply aren't shown at all.I'm not actually sure there is a fix to this without #2544 knowing how to resolve the names according to F# rules. It looks to me like the C# locals display is simply deciding not to show any locals that conflict with an argument name (which they never do according to C# rules)
Note this may have changed in recent VS, I've not seen the problem before, though it's likely it's just always been there.
The text was updated successfully, but these errors were encountered: