在windbg预览中无法使用!堆-flt
我正在尝试使用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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论