Detecting memory leaks with WinDBG the modern (and free) way
http://cfc.kizzx2.com/index.php/detecting-memory-leaks-with-windbg-the-modern-and-free-way/
detailed instruction: Memory Leak Detection Using Windbg
http://www.codeproject.com/KB/cpp/MemoryLeak.aspx
simple instruction: Heap Debugging (Memory/Resource Leak) with WinDbg
http://hacksoflife.blogspot.com/2009/06/heap-debugging-memoryresource-leak-with.html
gflags /i leak.exe +ust
windbg -g leak.exe
gflags /i leak.exe -ust
In Windbg, you can check statck with below way:
{80} normal block at 0x003B4378, 8000 bytes long. Data: < > CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD
!heap -p -a 0x003B4378
本文介绍了使用WinDBG工具进行内存泄漏检测的方法。通过详细和简单的指导教程链接,读者可以学习如何利用gflags/ileak.exe及Windbg的gleak.exe等工具来查找和解决内存泄漏问题。此外,还提供了在Windbg中检查堆栈的具体命令示例。

被折叠的 条评论
为什么被折叠?



