Page 1 of 1

Fantastic debugging tool

Posted: Wed Aug 14, 2024 1:25 am
by BarryG
When I was trying to work out why my exe had a massive GDI leak (https://www.purebasic.fr/english/viewtopic.php?t=84697), I found this awesome StackOverflow post -> https://stackoverflow.com/a/78464962/7908170

Which led me to download an archived version of the "Microsoft Performance HUD tool" -> http://web.archive.org/web/202207191116 ... ?id=100813

Which in turn reported the following GDI leaks in my exe in the screenshot below. :shock:

As you can see, the "Description" column shows me which items I need to re-check for leaks. I'm VERY hopeful now! :)

This is such a fantastic tool to have! Don't know why Microsoft discontinued it, but at least it's been archived for download.

BTW, this app attaches a little window to your own app's window so you can see its CPU %, memory, GDI count, etc. No need for Task Manager!

Hope this post helps someone else in future. :)

Image

Re: Fantastic debugging tool

Posted: Wed Aug 14, 2024 10:38 am
by acreis
Thanks, this tool seems to be very usefull!

Re: Fantastic debugging tool

Posted: Wed Aug 14, 2024 11:29 am
by chi
For detecting GDI leaks you could also use GDIView...

Re: Fantastic debugging tool

Posted: Wed Aug 14, 2024 12:15 pm
by BarryG
Thanks, Chi! Will download that one and check it out.

Re: Fantastic debugging tool

Posted: Wed Aug 14, 2024 1:32 pm
by Quin
Typical Microsoft, kill off all the useful tools and leave us with the useless ones :twisted:
In any case this is cool, thanks for sharing!