ADPlus support for generating crash dump with monitor mode

I recently blogged about how to use ProcDump to generate crash dump of a process in monitoring mode. Today I wanted to talk about how the same could be done with our good old friend ADPlus. It didn’t use to be that easy with earlier versions of ADPlus, however in version 7.0,  ADPlus has introduced a new switch pmn for generating crash dump in monitoring mode. Important to note that pmn switch only works in crash mode. ADPlus documentation describes this switch as follows.

-pmn <ProcessName> Defines a process name to be monitored, ADPlus will keep monitoring if a process with this name starts  and attach

Let’s take a look at an example. With the command below, ADPlus will run in monitor mode for process named Crasher.exe. A Crash dump will be stored in C:\CrashDumps folder.

ADPlus -Crash -pmn Crasher.exe -o C:\CrashDumps

Until next, happy debugging

About these ads
This entry was posted in Debugging. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s