windbg:是否可以在我自己的程序中嵌入Windgb引擎? [英] windbg: Is it possible to embed Windgb engine in my own program?

查看:118
本文介绍了windbg:是否可以在我自己的程序中嵌入Windgb引擎?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想编写一个调试/诊断工具,它可以调用Windbg函数来检查转储文件,而不是编写一个windbg扩展。这是可能和任何参考?

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?

非常感谢。

推荐答案

而不是WinDbg,您可以使用在dbghelp.dll中实现的调试API。它已记录在 MSDN 上。该参考文档相当干燥,但它应该让您了解API的功能。例如, MiniDumpReadDumpStream 是检查转储文件的网关。

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.

这篇关于windbg:是否可以在我自己的程序中嵌入Windgb引擎?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆