I wrote a WinDbg plugin to assist my developers in debugging our applications. More specifically, it helps in running special diagnostics on the data structures found in our application, and prevents that developers have to manually check lots of data structure information.
I am now considering porting this WinDbg to Visual Studio 2019 (as a VSIX extension), but I don't know where to start. I can investigate how to write such an extension, but I don't know where to start looking for the debugger-related API in Visual Studio.
- Is there a simple way to reuse a WinDbg plugin in Visual Studio 2019? That would make it very easy for me?
- If not, what is the API in Visual Studio to get debugging information? Think about: reading memory, getting symbols, getting the address of a vtable, searching memory, getting the call stack, getting generic information? I can do all of this in WinDbg via the IDebug... COM interfaces, but where do I start in Visual Studio 2019?