Debugger2::WriteMinidump Method (String^, dbgMinidumpOption)
Visual Studio 2015
If debugging a program and in Break mode, this function creates a minidump of the current debugging session.
Assembly: EnvDTE80 (in EnvDTE80.dll)
Parameters
- FileName
-
Type:
System::String^
The file name of the program being debugged.
- Option
-
Type:
EnvDTE80::dbgMinidumpOption
A dbgMinidumpOption constant specifying whether a full or normal dump is written.
Sub WriteMinidump() Dim dbg As EnvDTE80.Debugger2 dbg = DTE2.Debugger if MsgBox("This macro expects that we are currently debugging an _ app and that it is in break mode.",MsgBoxStyle.OKCancel) = _ MsgBoxResult.OK then dbg.WriteMinidump("c:\test.dmp", 0) MsgBox("Minidump was written to c:\temp\test.dmp") End If End Sub
Show: