内存泄漏检测 [英] Memory leakage detection

查看:74
本文介绍了内存泄漏检测的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何找出C ++中的内存泄漏检测?它应该在代码中给出存在内存泄漏的确切位置,并帮助对其进行调试.

How to find out memory leakage detection in C++? It should give the exact location in code where there is memory leakage and help to debug it. How to remove or avoid memory leakage?

推荐答案

您尝试使用调试器吗?运行调试器后,您始终会有未删除的内存分配痕迹.
Did you try with the debugger ? After running your debugger, you always have a trace of memory allocation that were not deleted.


MS VC ++ DevPartner [ ^ ]:)


如果您能处理真相,请向您的指导者进行代码审查.
If you can handle the truth, ask your mentor for a code review.


这篇关于内存泄漏检测的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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