-
Notifications
You must be signed in to change notification settings - Fork 830
Description
When stepping through computation expressions, the debugger seems to step out on let!/do! expressions. This is easily reproduced with async expressions, but I have also observed it for custom CEs. Setting breakpoints or using Run To Line works correctly, but Step Over or Step Into seems to break out on let!/do!.
Step Over:
Step Into (note also that it doesn't break out to main like Step Over does above - is this another bug?):
Run To Line:
Breakpoints:
Repro steps
Expected behavior
Step Over and Step Into should not step out of the expression after breaking on a let! or do!.
Actual behavior
Step Over and Step Into steps out of the expression after breaking on a let! or do!.
Furthermore, note in the Breakpoints example above that it breaks twice on the let! and do! lines. Is this another bug?
Known workarounds
None that I know of.
Related information
It's been like this for a long time, but this report was made using VS 15.6.4 and Visual F# nightly 15.6.20180504.1.



