Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debugging of some functions misses first debug point #11978

Closed
dsyme opened this issue Aug 16, 2021 · 1 comment
Closed

Debugging of some functions misses first debug point #11978

dsyme opened this issue Aug 16, 2021 · 1 comment
Labels
Area-Debug stepping, debug points, stacks and more Bug Impact-Low (Internal MS Team use only) Describes an issue with limited impact on existing code.

Comments

@dsyme
Copy link
Contributor

dsyme commented Aug 16, 2021

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.

@dsyme dsyme added the Area-Debug stepping, debug points, stacks and more label Aug 16, 2021
@TIHan TIHan added Bug Impact-Low (Internal MS Team use only) Describes an issue with limited impact on existing code. labels Aug 18, 2021
@dsyme
Copy link
Contributor Author

dsyme commented Aug 20, 2021

Fixed in #11981

@dsyme dsyme closed this as completed Aug 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Debug stepping, debug points, stacks and more Bug Impact-Low (Internal MS Team use only) Describes an issue with limited impact on existing code.
Projects
None yet
Development

No branches or pull requests

2 participants