configuring adplus for capturing crash hang dump

4
Configuring ADPlus for Capturing crash/hang dumps Devendra Yadav

Upload: devendra-yadav

Post on 17-Jun-2015

1.214 views

Category:

Technology


3 download

TRANSCRIPT

Page 1: Configuring adplus for capturing crash hang dump

Configuring ADPlus for Capturing crash/hang

dumpsDevendra Yadav

Page 2: Configuring adplus for capturing crash hang dump

Installing ADPlus

• ADPlus is part of the Microsoft® Debugging Tools for Windows® package. You can download the most recent package at http://www.microsoft.com/whdc/devtools/debugging/default.mspx• Both a 32-bit version and a 64-bit version of Debugging Tools for

Windows is available, be sure to download the version that is appropriate for your operating system.

Page 3: Configuring adplus for capturing crash hang dump

Running ADPlus to capture the crash dump• Open Command prompt• Go to directory where Microsoft® Debugging Tools are installed• Run following commands

>gflags /p /enable YourProcess.exe>adplus.exe -crash -pmn YourProcess.exe -o C:\AdPlusDumps

* C:\AdPlusDumps should be valid path, on crash, dump files will be created here only. This command keep monitoring YourProcess.exe and created dump file when crash occurs

Page 4: Configuring adplus for capturing crash hang dump

Running ADPlus to capture the hang dump• Open Command prompt• Go to directory where Microsoft® Debugging Tools are installed• Run following commands

>gflags /p /enable YourProcess.exe>adplus.exe -hang -pn YourProcess.exe -o C:\AdPlusDumps

* C:\AdPlusDumps should be valid path, hang dump files will be created here only.