Are there any available programs to manage memory usage, GDI objects? I would like to receive data about the allocation and usage of memory objects in the code. Now I am involved in a project in C ++, Visual Studio, Windows. I faced the problem of leakage. And I can not always find where they appear. I searched myself and found very expensive programs. Is there something free or inexpensive?
VLD is a good debugger. Easy to use, convenient. You can find a lot of tutorials and videos on YouTube about it. But it doesn't catch GDI-leaks. Deleaker can detect them. This is a paid tool that integrates into the Visual Studio development environment. Also it catch handles. Wikipedia has a list of debuggers for all cases)
Perhaps you have already checked this old topic. I want to note that not all debuggers are listed here. There is a good plugin for Visual Studio called PVS studio which just gives more in depth warnings. I like the standard debugger. Also good leak detection programs are Insure and Deleaker.