Calendar
Januar 2009
M D M D F S S
    Feb »
 1234
567891011
12131415161718
19202122232425
262728293031  

Usage of Hangdump

Hangdump can be used if application stop responding and it should be investigated why!

This is how you would go about to create the dump files needed for analyzing this:
1. Go to -> http://www.microsoft.com/whdc/devtools/debugging/default.mspx
2. Download the latest release,. ie. NOT the beta version, for your system. Ie. 32 or 64 bits.
3. Install it on the machine where the app hangs, my suggestion is to install it to C:\Debuggers
4. Now start your application if it is not running.
5. Start a command prompt and navigate to where you installed the debugger.
6. Execute the command ‘tlist’, this will list all running processes and their ids (PID),  take note of your applications PID.
7.  Now run the adplus tool in order to create the hang dump file. 

Use the following syntax: adplus -hang -p <your pid> -o C:\DumpFiles

8. Ignore the two Adplus warning.
9. Run it 3 or 4 times with a minute or two between each run.
10. Examine the C:\DumpFiles directory, here you now should have a directory called Hang__Mode__Date…. Etc.

 Thx to Thomas Punzo

Antwort schreiben

Sie müssen als angemeldet sein, um einen Kommentar schreiben zu können.