Skip to content

Debugger info is incorrect for shadowed bindings #3704

@tldrlol

Description

@tldrlol

Repro steps

On a windows 10, fresh VS2017 install

[<EntryPoint>]
let main _ =
  let x = 42
  let x = 7
  printfn "%d" x // breaking on this line, watch and tooltip say x=42
  0

illustrated

Expected behavior

Tooltip will display x value of shadowing binding.

Actual behavior

Tooltip displays x value of shadowed binding.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-Debugstepping, debug points, stacks and moreBugImpact-Medium(Internal MS Team use only) Describes an issue with moderate impact on existing code.Ready

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions