Using dfSplat to identify object leaks: Difference between revisions

(Created page with "=== Preface === One of the problems when developing a program which has a lot of dynamic objects is that you make sure that all the objects that are created are also destroyed...")
 
Line 46: Line 46:
Next up we are going to run this little program with dfSplat.
Next up we are going to run this little program with dfSplat.


Start dfSplat, then from the toolbar menu select the "Start Debug" button. This will open a "File Open" dialog and you can navigate to the program's folder of your workspace and select the LeakyObjects.exe application.
Start dfSplat, then from the toolbar menu select the "Start Debug" button. [[File:dfSplat-LeakyObjects-Start-debug.png]]
 
This will open a "File Open" dialog and you can navigate to the program's folder of your workspace and select the LeakyObjects.exe application.


Now the program will run in the dfSplat debugger and the input from the last line of the program will popup.
Now the program will run in the dfSplat debugger and the input from the last line of the program will popup.