The prerequisites for collecting debug data for Directory Server are as follows.
Make sure you have superuser privileges.
For the Solaris OS platform obtain the dirtracer and pkg_app scripts from the following location.
See To Run the pkg_app Script for instructions on using pkg_app. See the documentation bundled with dirtracer for information on using that script.
On the Windows platform, download the free Debugging Tools for Windows to help in analyzing process hang problems. The debugger Dr. Watson is not useful for process hang problems because it cannot generate a crash dump on a running process. Download the free Debugging Tools from the following location.
Install the last version of Debugging Tools and the OS Symbols for your version of Windows. Also, you must add the environment variable NT_SYMBOL_PATH.
Use the command drwtsn32 -i to select Dr. Watson as the default debugger. Use the command drwtsn32, check all options, and choose the path for crash dumps.