microsoft / WinDbg-Samples

Sample extensions, scripts, and API uses for WinDbg.
MIT License
724 stars 122 forks source link

Add Source Indexing For ExdiGdbSrv #87

Closed karthikmacherla closed 1 year ago

karthikmacherla commented 1 year ago

Summary

This change modifies the pipeline by adding linking exdi source with GitHub directly via a recently added linking command /sourcelink. We no longer need to index sources in the symbol server since the sources should resolve with this external source.

Note: Sourcelink is only added for x64 since it looks like ARM64 is not supported yet (Visual Studio won't let me add this flag in on Release)

Testing

We can verify it works by checking the vpacks produced the pipeline to see if they generate sources. Unfortunately, testing this locally won't guarantee that the pipeline is guaranteed to work.