通过 adplus 收集转储的正确方法是什么?

发布于 2025-01-01 22:05:38 字数 118 浏览 5 评论 0原文

我想使用 adplus 收集挂起转储。我是否必须从一开始就使用 adplus 命令运行该进程,还是必须在应用程序挂起后启动它?如果必须从一开始就完成,是否有办法减少转储的大小,直到实际挂起事件发生?

谢谢。

I want to collect the hang dumps using adplus. Do I have to run the process with adplus command right from the start or do I have to start it once the application is hung? If it has to be done right from the start, is there way to reduce the size of dumps until the actual hung event happens?

Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

逆夏时光 2025-01-08 22:05:38

您可以使用

%WinDbgPath%\ADPlus -hang -o %OUTDIR% -quiet –pn   <your.exe>

当您发现您的.exe 挂起时, 。转储的大小取决于转储的类型和转储进程的大小。您可以在命令行选项或 .cfg 文件中控制转储类型。
这将立即产生转储,就像您已附加了 Windbg 并

.dump /ma /u  <file.dmp>

You can use the

%WinDbgPath%\ADPlus -hang -o %OUTDIR% -quiet –pn   <your.exe>

when you discover your.exe is hung. The size of the dump is depend of the type of dump and the size of the dumped process. You can control the type of dump in either command line options or in the .cfg file.
This will produce an immediate dump, just as if you have attached with windbg and

.dump /ma /u  <file.dmp>
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文