You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
multi-emit fsi debug -- watch variables don't work #14572
In this session there are four sperate submissions, all sent in one go by using Alt+A select all then Debug in Fsi from the context menu. Note that locals and Autos are empty .. and the watch window claims x, y and z do not exist.
This happens because each section of code is separated by ;; and executed in a single submission.
Expected: All submitted code to be compiled and then executed.
Activity
KevinRansom commentedon Jan 10, 2023
Harrumpph!!! VS2019 did the same:

majocha commentedon Jan 5, 2024
I tried to look what the Roslyn Expression Evaluator is receiving when debugging F#.
Debugging a net8 console app:
Module instance Unoptimized
Everything works fine.
Same code, but Debug in Interactive:
Optimized, this is regardless of optimize flag in F# Tools settings.
Next thing that happens is an assertion fail in
MetadataDecoder.cs:vzarytovskii commentedon Jan 5, 2024
Hm, wondering why. I'll try not forgetting to look at it next week
rgbav commentedon Jun 5, 2024
Any updates on this issue?
docs: add PR link to release notes entry (#14572)