Deleaker Help >> Usage

Snapshots


Snapshot (list) is a list of allocated objects (memory blocks or GDI objects etc.). Sometimes it's useful to compare snapshots. For example, you know that click to a button produces a memory leak. You need to find exact line of source code where the leak is produced. Set options before debugging:


The application:


Switch to Deleaker and click Refresh. After that click to Save list:


The list was saved as "Snapshot #1":


Switch to the application and click to the button. Switch again to Deleaker and click to Refresh. You see a big list of memory blocks. Select "Snapshot #1" and click to "Compare current list with":


The result (4 memory leaks, one of them is the main leak; others leaks are not real leaks, these blocks will be freed):




Copyright © 2004 - 2007 Softanics. All rights reserved.
Deleaker is a trademark of Softanics.