Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Go To Definition from source information in PDBs #57073

Merged
merged 58 commits into from
Oct 27, 2021

Conversation

davidwengier
Copy link
Contributor

@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
Contributor 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.

None yet

4 participants