Generates a user dump of a process that shuts down unexpectedly.
bedbg Starts bedbg in console mode
bedbg --sc+ Creates bedbg service
bedbg --sc- Deletes bedbg service
bedbg --I Registers bedbg as a post-event debug tool
bedbg --UI Unregisters post-event debugger
bedbg --p BE 2010, 2010 R2, 2010 R3 - Captures memory dump of a running process
bedbg --pid BE 2012 and higher - Captures memory dump of a running process
bedbg --wer+ Enables local archiving of WER collected dumps
bedbg --wer- Disables WER local archiving
bedbg --? Displays bedbg usage information
bedbg --?? Displays bedbg help
Optional arguments:
--max # Maximum number of dump files in a folder (def: 10)
--type # Memory dump type: 0 - custom (def), 1 - mini, 2- full.
--path arg The path where the dump files are to be stored.
Examples:
1. To attach BEDBG to a running process just follow this for a process crash not creating a dmp output automatically)
To perform this, you first need to determine the processes PID. This can be determined using Window's Task Manager.
Launch Task Manager and go to View > Select Columns (FIGURE 1):

C:\Program Files\Veritas\Backup Exec>bedbg --I --type 2
In case dump is not created in Backup Exec 2012 and later versions, bedbg needs to be attached to a crashing process (similarly to the step 1) with the following command:
C:\Program Files\Veritas\Backup Exec>bedbg --pid