DCSIMG
Running ADPlus on a Windows Server 2008 - Michael Neiter's Blog

Running ADPlus on a Windows Server 2008

Published 16 December 10 07:28 AM | Michael Neiter

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.

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

Comments

# Rotem Bloom said on December 18, 2010 08:15 PM:

מה קרה אתה צריך להשתמש בזה פתאום?

בדרך כלל שמגיעים למצב כזה כנראה שיש בעיה רצינית.

# Michael Neiter said on December 19, 2010 09:29 AM:

הי רותם,

הפרויקט שאני עובד עליו עכשיו לקראת סיום והיה צורך לבדוק כמה נקודות רגישות, החלק הקשה מאחורי.

Leave a Comment

(required) 
(required) 
(optional)
(required) 

Enter the numbers above: