Skip to content

Go To Definition from source information in PDBs#57073

Merged
davidwengier merged 58 commits intodotnet:release/dev17.1from
davidwengier:GTDFromPdbDocument
Oct 27, 2021
Merged

Go To Definition from source information in PDBs#57073
davidwengier merged 58 commits intodotnet:release/dev17.1from
davidwengier:GTDFromPdbDocument

Conversation

@davidwengier
Copy link
Member

@davidwengier davidwengier commented Oct 11, 2021

Part of #55834

This is the MVP of Go To Def from document info stored in PDBs. It currently supports PDB files that are embedded, or next to the DLL files on disk. For source information it similarly supports source files that magically happen to be in the right spot on disk, or embedded source. I think the embedded PDB with embedded source puts the V in MVP here.

There is lots more work to come, including working with the debugger for proper source link support, and there is more cleanup and code sharing that can happen with the existing Metadata as Source provider that does decompilation, but in the interests of not making an already huge PR any bigger, those will be in follow ups. The refactoring from MetadataAsSourceFileService to DecompilationMetadatAsSourceFileProvider was just a move at this point. See the linked issue if you're curious.

…thods of getting source from metadata information, but "decompilation" is a concept that doesn't apply universally to all methods. Better to let features specify how they want data to be displayed, either full source or just signatures.
@davidwengier davidwengier changed the base branch from main to release/dev17.1 October 27, 2021 05:32
@davidwengier
Copy link
Member Author

FYI @jinujoseph I've updated this to point to dev17.1 as discussed

@jinujoseph jinujoseph removed the UX Review Not Required UX Review Not Required label Oct 27, 2021
Copy link
Member

@tmat tmat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@jinujoseph jinujoseph added this to the 17.1.P1 milestone Oct 27, 2021
@davidwengier davidwengier merged commit 2384bf9 into dotnet:release/dev17.1 Oct 27, 2021
@davidwengier davidwengier deleted the GTDFromPdbDocument branch October 27, 2021 21:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants