Debugging Tools for Windows

Analyze UMDH Logs

Use the following commands to analyze UMDH logs that were created by running UMDH with the syntax described in Analyze a Running Process. This analysis focuses on allocations, instead of stack traces.

You can analyze a single log file or compare logs from different runs to detect the changes in the program or driver's memory dump allocations over time.

Syntax

umdh [-d] [-v] [-lFile1 [File2] [-h | ?]

Parameters

-d
Displays numeric data in decimal numbers. The default is hexadecimal.
-v
Verbose mode. Includes the traces, as well as summary information. The traces are most helpful when analyzing a single log file.
-l
Includes file names and line numbers in the log. (Please note that the parameter is the lowercased letter "L," not the number one.)
File1 [File2]
Specifies the UMDH log files to analyze.

UMDH creates log files when you run it in the analyze a running process mode and save the log content in a text file (-f).

When you specify one log file, UMDH analyzes the file and displays the function calls in each trace in descending order of bytes allocated.

When you specify two log files, UMDH compares the files and displays in descending order the function calls whose allocations have grown the most between the two trials.

-h | ?
Displays help.

Sample Usage

umdh dump.txt
umdh -d -v dump.txt
umdh dump1.txt dump2.txt

Build machine: CAPEBUILD