microsoft / WinDbg-Samples

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

New sample repo refers to 'The debugger's target composition API' and DbgServices.h. How can these be acquired? #60

Closed AlanAtWork closed 2 years ago

AlanAtWork commented 2 years ago

I have the latest Windows SDK installed with debugging tools but this header is not present. Not seeing anything searching the web. Where can we find the headers, etc... for this API?

wmessmer-msft commented 2 years ago

The header is not yet present in the SDK. It is available in a NuGET package (https://www.nuget.org/packages/Microsoft.Debugging.TargetModel.SDK). You should be able to just build the "TextDump" sample in this repo if you open the solution in Visual Studio. It should already reference that NuGET package.

AlanAtWork commented 2 years ago

Ok, I had only been browsing the readme and the source. Thanks for your help.