Quick Watch shows wrong value on variables with same name #3141
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.
Ready
Milestone
Quick Watch shows wrong value on variables with same name
Repro steps
Provide the steps required to reproduce the problem
// breakpoint 1
and// breakpoint 2
comments.x
on lines with// quick watch n
commentExpected behavior
quick watch 1: x = null
quick watch 2: x = "123"
quick watch 3: x = null
quick watch 4: x = "123"
Actual behavior
quick watch 1: x = "123"
quick watch 2: x = "123"
quick watch 3: x = null
quick watch 4: x = null
Known workarounds
Use different names of variables. For example:
Related information
Bug reproduced in Visual Studio 2017 with Visual F# Tools Extension 15.4.17051701 and Visual Studio Code with Ionide extension 2.25.13
The text was updated successfully, but these errors were encountered: