Description:
How to use WinDBG in order to create a DUMP file for the Policy Server under Windows?
Solution:
You can use Windbg to create a dump for the SiteMinder smpolicysrv.exe process.
- In order to use WinDBG, the Debugging Tools for Windows must be downloaded and installed.
This is a free download from Microsoft using the following URL: http://www.microsoft.com/whdc/devtools/debugging/installx86.mspx
- When Windbg is installed, Launch Windbg. Click File->Attach to a Process... (F6).
- Select smpolicysrv.exe from the list of running processes and then hit "OK".
- Once WinDbg has been attached to the process, then on the command input window at the bottom of the WinDbg window enter a command .dump to generate the dump.
For E.g:- .dump /mfh c:\temp.dmp
For help on using the .dump command he can type .dump /?
Or also check the help file for Windbg. You can also refer to this url for help http://wiki.zimbra.com/index.php?title=Creating_a_Core_Dump_from_a_Running_P rocess_using_WinDbg
IMPORTANT: Please note that you should generate a full dump and not mini dump.