multi-emit fsi debug -- watch variables don't work
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.
Note: This behavior requires this PR: https://github.com/dotnet/fsharp/pull/14537
Harrumpph!!! VS2019 did the same:

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:
Hm, wondering why. I'll try not forgetting to look at it next week
Any updates on this issue?