使用CRTdbg检测内存泄漏 [英] Using CRTdbg to detect memory leak

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

问题描述

是否可以使用CRTDBG检测其他应用程序中的内存泄漏?

我的意思是,A是编写CRTDBG代码/API的程序,而B是我想在A的帮助下检测内存泄漏的应用程序.
有人可以在这方面帮助我吗?

Is there any way to use CRTDBG for detecting a memory leak in other applications?

I mean, A is the program where CRTDBG code/APIs are written and B is the application in which I want to detect memory leak with the help of A.

Can someone help me in this regard?

推荐答案

否,如果程序不使用调试堆,则crtdbg无法执行任何操作.
NO, if the program does not use the debug heap, there is nothing crtdbg can do.


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

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