Repro steps
Write the following console app, place a breakpoint on (), and debug it (in debug mode):
let c x =
async {
if x = "" then
()
}
c "" |> Async.RunSynchronously
Expected behavior
The breakpoint is hit.
Actual behavior
No breakpoint is hit.
Known workarounds
Replace () by e.g. ignore 0.
Related information