/UmdhGui

Graphical user interface for the UMDH tool

Primary LanguageC#MIT LicenseMIT

UmdhGui

Graphical user interface for the UMDH tool

UMDH is a command line utility that comes with WinDbg to find memory leaks in native applications. UmdhGui is a graphical user interface for this command line utility.

Instructions

As a prerequisite you need to have the latest WinDebug from the Windows SDK installed (not from the AppStore)

  1. Compile and run the application:

Main Window

  1. Enter settings:
    • Click the settings button to choose the directory where the WinDbg.exe is located.
      Note: To debug a 64 bit application you have to choose the 64 bit directory of WinDbg.exe

    • Choose a directory where UmdhGui shall write its output files.

Settings

  1. Close the settings dialog and select the process to analyze in the main window
  2. Click “Take snapshot” to collect the allocation stack traces
  3. Leak some memory and take a second snapshot.
  4. Click “Compare” to visualize the differences between two snapshots.

Info

UmdhGui writes the snapshots as files to the chosen output directory (see step 2).
If collecting stack trace allocations is not permanently enabled via “gflags -i Leak.exe +ust” UMDH will temporarily enable it.

Resources

Icons: