You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a supported way for retrieving Source Link URLs from PDB files?
For writing tools that use Source Link data, there's a useful SourceLinkMap for parsing the JSON, but how can the JSON be read from a PDB in the first place?
I note that the symreader-converter project has code for reading Source Link data, but from my experimentation, I believe the APIs used there do not support PDBs for native C++ projects. I would like in particular to be able to read Source Link data embedded in native PDBs by the C++ linker.
From this comment it appears at a pinch I may be able to use pdbstr.exe to extract streams sourcelink$1, sourcelink$2, ... etc. But I was hoping for a more convenient API than a command-line tool.
The text was updated successfully, but these errors were encountered:
Is there a supported way for retrieving Source Link URLs from PDB files?
For writing tools that use Source Link data, there's a useful
SourceLinkMap
for parsing the JSON, but how can the JSON be read from a PDB in the first place?I note that the symreader-converter project has code for reading Source Link data, but from my experimentation, I believe the APIs used there do not support PDBs for native C++ projects. I would like in particular to be able to read Source Link data embedded in native PDBs by the C++ linker.
From this comment it appears at a pinch I may be able to use pdbstr.exe to extract streams
sourcelink$1
,sourcelink$2
, ... etc. But I was hoping for a more convenient API than a command-line tool.The text was updated successfully, but these errors were encountered: