The download contains the full Windows debugger package, and can easily be installed on any computer that is running Windows NT or Windows 2000, which will present the user with an icon for User Dump Setup in the Debugging Tools group.
WARNING: Installing the Windows debuggers package may alter the default user mode exception handler, and drwtsn32 may need to be reregistered as the default using the command line.
c:\>drwtsn32 -i
Although this article is a brief description that focuses primarily on monitoring the information store (Store.exe), it applies to the directory (Dsamain.exe) as well as any other user mode process. More detailed documentation is in the userdocs.doc file, which is located in the default directory "C:\Program Files\Debuggers\bin\kanalyze" after installation.
The only question you are asked during setup is whether you want to install or remove the utility. The option to remove is available only if setup determines that Userdump is currently installed. After you confirm your choice, files are added or removed, and services are installed or removed as appropriate. Setup offers to open Control Panel to allow advanced configuration. Note that a fresh installation of Userdump does not require you to restart the computer. However if it is already installed on a computer, removing it or reinstalling (that is, upgrading) may require you to restart the computer.
The last action in the setup routine asks if you would like to open Control Panel to configure Userdump. You can answer yes to this or you can configure Userdump at a later time. You must have administrator privileges to do so.
After the Process Dump tool is started, you are presented with two tabs: Exception Monitoring and Hot Keys. To configure Userdump to handle exceptions in the information store, simply click the New button on the Exception Monitoring tab. Type store.exe (or the image name of any process you wish to monitor) in the resulting dialog box and click OK. There is some overhead associated with using the Exception Monitor to handle a process, but this is negligible for most users.
Userdump creates user dump files named with the prefix of the image name and the file extension replaced with dmp (so Store.exe would produce a Store.dmp file). These dump files are created by default in the Winnt directory. You can override the target directory by creating the following registry key:
WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may
require you to reinstall your operating system. Microsoft cannot guarantee that you can solve
problems that result from using Registry Editor incorrectly. Use Registry Editor at your own
risk.
- Start Registry Editor (Regedt32.exe).
- Locate the following key in the registry:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\udmpsvc\Parameters
- On the Edit menu, click Add Value, and then add the following registry value:
Value Name: DumpPath
Data Type: REG_SZ
Value: Fully-qualified path to a local directory
- Quit Registry Editor.
The value is expected to be a fully-qualified Win32 path to a local directory, which must already exist. Remote directories will not work, even if a drive letter is redirected to a remote share point.
Userdump is quite versatile and can be invoked from the command line.
For additional information, click the article number below
to view the article in the Microsoft Knowledge Base:
250509�
XADM: How to Use Userdump.exe to Capture the State of the Information Store
It also has several uses including:
- Process self-dumping. Userdump supports a feature whereby an application can cause itself to be dumped, for example, in an exception handler block or a top-level unhandled exception filter.
- Hot-Key Process Snapshot. A single keystroke can be associated with an image binary and can trigger a dump similar to the command line noted above.
For additional information about on drwtsn32 and its configuration, click the article numbers below
to view the articles in the Microsoft Knowledge Base:
188296�
How to Disable Dr. Watson for Windows NT