-
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 moreBugImpact-Low(Internal MS Team use only) Describes an issue with limited impact on existing code.(Internal MS Team use only) Describes an issue with limited impact on existing code.
Description
At the moment we don't lay down any debug points for "when" clauses in pattern matching, so you can't break on them unless there is some sequential logic inside (e.g. let, sequencing, loops etc.)
There is no reason for this - it is simple enough to allow debug points here.
e.g.
let test1 x y =
match x with
| [_] when y > 4 -> 5
| [_] when y < 4 -> -5
| _ -> 2Check can you validate a breakpoint on the when (before debug launch), and can you hit it at runtime.
Metadata
Metadata
Assignees
Labels
Area-Debugstepping, debug points, stacks and morestepping, debug points, stacks and moreBugImpact-Low(Internal MS Team use only) Describes an issue with limited impact on existing code.(Internal MS Team use only) Describes an issue with limited impact on existing code.