Skip to content

AsmResolver.DotNet.PortablePdbs#681

Draft
Windows10CE wants to merge 14 commits intoWashi1337:developmentfrom
Windows10CE:feature/portablepdb
Draft

AsmResolver.DotNet.PortablePdbs#681
Windows10CE wants to merge 14 commits intoWashi1337:developmentfrom
Windows10CE:feature/portablepdb

Conversation

@Windows10CE
Copy link
Copy Markdown
Contributor

@Windows10CE Windows10CE commented Oct 9, 2025

Some information for my future self:
The documented custom debug records are incomplete, Roslyn at least implements more than listed.
Official: https://github.com/dotnet/runtime/blob/main/docs/design/specs/PortablePdb-Metadata.md#language-specific-custom-debug-information-records
Roslyn kinds: https://github.com/dotnet/roslyn/blob/main/src/Dependencies/CodeAnalysis.Debugging/PortableCustomDebugInfoKinds.cs
Diff: name, kind, parent type, blob format, usage

  • PrimaryConstructorInformationBlob, 9D40ACE1-C703-4D0E-BF41-7243060A8FB5, Method, no blob, used to identity a method as a primary constructor
  • TupleElementNames, ED9FDF71-8879-4747-8ED3-FE5EDE3CE710, LocalVariable (more?), series of null terminated utf8 strings, contains the names of tuple elements
  • AsyncMethodSteppingInformationBlob, 54FD2AC5-E925-401A-9C2A-F94F171072F8, Method, catch handler offset and a series of yield/resume offsets, presumably used to help step over awaits in non-runtime async methods
  • EncStateMachineStateMap, 8B78CD68-2EDE-420B-980B-E15884B8AAA3, Method, series of syntax offsets for state machine states, presumably used to handle something about state machines in EnC scenarios

F# probably also has kinds not listed here, look into those F# has no additional kinds it only uses like 3 of the ones that Roslyn also uses

@github-actions

This comment has been minimized.

3 similar comments
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

1 similar comment
@github-actions

This comment has been minimized.

@github-actions
Copy link
Copy Markdown

Test Results

Total Skipped Passed Failed
Unique 2152 5 💤 2152 ✅ 0 ❌
Total 4304 36 💤 4268 ✅ 0 ❌

Failing runs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant