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
dsyme
changed the title
Consider emitting "Local Constants" in Portable debug info
Consider emitting LocalConstants"in Portable debug info
Aug 23, 2021
dsyme
changed the title
Consider emitting LocalConstants"in Portable debug info
Consider emitting LocalConstants in Portable debug info
Aug 23, 2021
Our Portable PDB writer doesn't emit "Local Constants" (aka "compile time values")
This information is evidently emitted by C# in some circumstances, it's not clear to me where (it's not for .NET literals, which have their own metadata). See https://github.com/dotnet/roslyn/blob/3d8acbd585a75e9cdb3509623bf6c39ceb46b2c2/src/Compilers/Core/Portable/PEWriter/MetadataWriter.PortablePdb.cs#L125
Portable PDB spec is here: https://github.com/dotnet/runtime/blob/main/docs/design/specs/PortablePdb-Metadata.md
It may be useful for F# to emit this information in some situation once we clarify what debugging experience it supports.
The text was updated successfully, but these errors were encountered: