-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Add source index to PDBs #1871
Comments
new way is to use sourcelink, which adds a json to the PDB which includes url to the source and debugger can use this url to fetch source files. |
@MagicAndre1981 Unfortunately, Though I think we don't even need to use
And then include it in PDBs using This will basically map all local paths (relative to repo root) to actual remote repo paths. |
sourcelink works with deterministic builds as it is done with this package for .net libs. And source link generates this json on its own |
It still generates json with absolute local paths. But it seems it doesn't matter. Even with original Using Source Link in C++ projects instructions. So it should be really just about adding few nuget packages to the projects. |
MS added source link support in VS2017 times to VS and windbg and VS is using source link in "go to definition" to get the source with the help of source link.
yes, great idea and improved debugging of 3rd party libs a lot. |
* Add SourceLink support Fixes winsiderss#1871 * Store repo relative source paths in PDBs --------- Co-authored-by: Johnny Shaw <[email protected]>
Description of the feature, modification, idea or suggestion
It seems that you are finally providing PDBs for
SystemInformer
builds (at least looking at release assets insi-builds
repo). Which is cool and I hope it is intentional 😄It will be great to have also source index in those PDBs so that debuggers will be able to automatically fetch proper version of source files from github. This makes analysis of crash dumps a lot easier as there is no need to look for proper revision of given file manually.
Here is nice guide that explains how the source index works and how to add it to PDBs:
https://gist.github.com/baldurk/c6feb31b0305125c6d1a#source-indexing
I have some experience with that as I did similar thing (based on that guide) for project I'm maintaining.
So I'd like to help with the implementation in
SystemInformer
if you are interested in it.Proposed implementation details (optional)
No response
The text was updated successfully, but these errors were encountered: