Skip to content

Debugging of some functions misses first debug point #11978

@dsyme

Description

@dsyme

For this code:

let TestFunction3() =
    try 
       let x = 1+1
       System.Console.WriteLine "Hello";
    with _ -> 
       System.Console.WriteLine "World"      

TestFunction3()

the first try is not laid down as a debug point. This is caused by the debug point of the let x falsely replacing that of the try when there is no generated code in-between.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-Debugstepping, debug points, stacks and moreBugImpact-Low(Internal MS Team use only) Describes an issue with limited impact on existing code.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions