-
Notifications
You must be signed in to change notification settings - Fork 847
Closed
Labels
Area-Debugstepping, debug points, stacks and morestepping, debug points, stacks and moreArea-LangService-APIImpact-Medium(Internal MS Team use only) Describes an issue with moderate impact on existing code.(Internal MS Team use only) Describes an issue with moderate impact on existing code.Regression
Milestone
Description
In version 16.9.x it was possible to set a breakpoint on the lines of an anonymous function passed to a back pipe. In version 16.10.x this is no longer possible. The breakpoint is always set at the function level.
Repro steps
Start VisualSudio v16.10.x past the code into a .fs file and attempt to set a break point on the line printfn "line1".
let bodyRunner body =
printfn "running"
body ()
let bodyWrapper =
bodyRunner <| fun _ ->
printfn "line1"
printfn "line2"
Expected behavior
Be able to set a break point on the line
Actual behavior
Breakpoint set at function level.
Known workarounds
None
Environment
- Windows 10 Pro 20H2
- .NET Runtime .NET 5.0
- Fails on v16.10.0 & v16.10.1.
Metadata
Metadata
Assignees
Labels
Area-Debugstepping, debug points, stacks and morestepping, debug points, stacks and moreArea-LangService-APIImpact-Medium(Internal MS Team use only) Describes an issue with moderate impact on existing code.(Internal MS Team use only) Describes an issue with moderate impact on existing code.Regression

