fsharp icon indicating copy to clipboard operation
fsharp copied to clipboard

Breakpoint is not being hit in ServiceParsedInputOps.fs

Open auduchinok opened this issue 4 years ago • 1 comments

Not sure if it's fixed by https://github.com/dotnet/fsharp/pull/12018, but it was on main branch from a few days ago inside VisualFSharp.sln.

Screenshot 2021-08-27 at 13 55 49

auduchinok avatar Aug 27 '21 12:08 auduchinok

This is a bug in ValidateBreakpointLocation. Because the binding is let f = function ... this is correctly treated in codegen as if it is defining a local function, and we don't normally allow breakpoints on let f x = ... because there is no code to break on for the definition of f itself (only its body).

dsyme avatar Nov 16 '21 20:11 dsyme