In this tutorial we’re going to show you how to use Memory Validator to view GDI objects in a running application.
Whilst debugging graphical applications, it can be useful to track GDI and USER objects to see if any resources are leaked. In the process of performing this task, whilst it is useful to have the handle value and stack trace for the allocation, it is also very useful to be able to view what the graphical object looks like.
No specific options are required for this feature – you simply need to collect and display the appropriate handle types.
On the Memory tab display settings dialog, select the Handles check box.
On the Collect tab of the settings dialog, select the GDI Handles and User Handles check box.