The Microsoft Debugging Utility, USERDUMP.EXE, creates a memory dump for a process. Since the output is quite large (as much as 50 meg), use this tool only at the request of Support.
To display a list of running processes and process IDs, enter
USERDUMP -p
To dump processes associated with a single process ID or image binary file name, enter
USERDUMP [-k] <ProcessSpec> [<TargetDumpFile>]
To dump processes associated with multiple process IDs or image binary file names, enter
USERDUMP -m [-k] <ProcessSpec> [<ProcessSpec>...] [-d <TargetDumpPath>]
To dump Win32 GUI processes that appear to hang, enter
USERDUMP -g [-k] [-d <TargetDumpPath>]
where
To dump the main Toolbox process if that is the one that is hanging:
The program will take about 10 or 20 seconds to produce the dump file. A dump file will be created in the current directory (unless you specified a target dump file name) with a name similar to PR0TOOL.DMP.