windbg: Is it possible to embed Windgb engine in my own program?

debugging, windbg, windows

Solution

Rather than WinDbg, you can use the Debugging API which is implemented in dbghelp.dll. It's documented on MSDN. That reference documentation is rather dry, but it should give you an idea of the capabilities of the API. For example, `MiniDumpReadDumpStream` is the gateway to examining dump files.

Problem

I'd like to write a debugging/diagnostic tool which can call Windbg functions to examine a dump file, instead of writing a windbg extension. Is this possible and any references? Thanks a lot.

Original source