Skip to content

Feature request: Allow embedding source code in PDB for C++ projects using SourceLink. #1637

Description

@silnith

The documentation says that SourceLink is supported for C++ projects (not SDK-style, not PackageReference). It says that only embedding URLs for downloading the source code is supported.

https://github.com/dotnet/sourcelink#using-source-link-in-c-projects

It would solve a long list of headaches if it were possible to simply embed the source code directly in the generated PDB instead of dealing with network traffic. I will not go into details, suffice to say that external network traffic can be very problematic in certain debugging situations.

Please, please consider supporting this feature!

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions