Running ADPlus on a Windows Server 2008
What does ADPlus do?
ADPlus is console-based Microsoft Visual Basic script. It automates the Microsoft CDB debugger to produce memory dumps and log files that contain debug output from one or more processes.
The following are the three steps to run ADPlus command:
1. Open a command prompt as an administrator.
Note: The reason I wrote this post is because without running the command as an administrator you can’t create a dump file. It took me some time to figure out why I could not create a dump file. I want to believe this post will save some time for others.
2. Move to the folder.
cd C:\Program Files\Debugging Tools for Windows (x64)
or
cd C:\Program Files\Debugging Tools for Windows (x86)
3. Execute command.
Adplus -hang -pn "process Name" -o "output directory"
or
Adplus -crash-pn "process Name" -o "output directory"
Summary:
Create a dump file is the first step in the process of analysis and understanding of the application. ADPlus is one of the tools that gives the possibility to create a dump file.
Download and Install Debugging Tools for Windows:
http://www.microsoft.com/whdc/devtools/debugging/default.mspx
Reference:
http://support.microsoft.com/kb/286350
http://msdn.microsoft.com/en-us/library/ff537953(v=VS.85).aspx