在windbg预览中无法使用!堆-flt

发布于 2025-01-26 02:10:35 字数 486 浏览 2 评论 0原文

我正在尝试使用WindBG Preview(Windows Store应用程序)调试内存泄漏。

我可以执行!heap -s以获取堆列表,然后!HEAP -STAT -STAT -H< address_of_a_a_heap>以获取对象的使用中的统计信息,但是当我尝试使用!HEAP -FLT S 100列出指定大小的所有实例时,我得到的

HEAPEXT: !heap invalid option flag '-l'
Platform dependent usage:             
THIS EXTENSION SUPPORTS THE SEGMENT HEAP AND THE NT HEAP

命令与经典WindBG中的预期相同。我还从!HEAP -STAT -H命令中获得了不同的输出。

是否应该采取其他配置来启用这些命令?

I am trying to debug a memory leak with WinDbg Preview (the Windows Store application).

I can execute !heap -s to obtain the list of heaps, then !heap -stat -h <address_of_a_heap> to get statistics of the used memory by object, but when I try to list all instances of specified size using !heap -flt s 100, I get

HEAPEXT: !heap invalid option flag '-l'
Platform dependent usage:             
THIS EXTENSION SUPPORTS THE SEGMENT HEAP AND THE NT HEAP

The same commands work as expected in the classic WinDbg. I also get different output from the !heap -stat -h command for one and the same heap - e.g. in the classic WinDbg the output is a table with objects grouped by size.

Is there additional configuration that should be done to enable these commands?

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文