C# Class DumpWriter.DumpWriter

ファイルを表示 Open project: goldshtn/minidumper Class Usage Examples

Public Methods

Method Description
Dump ( int pid, DumpType dumpType, IntPtr exceptionParam, string fileName, bool writeAsync = false, string dumpComment = null ) : void
DumpWriter ( TextWriter logger = null ) : System

Private Methods

Method Description
AddCLRRegions ( Microsoft.Diagnostics.Runtime.ClrRuntime runtime ) : void
CallbackRoutine ( IntPtr CallbackParam, MINIDUMP_CALLBACK_INPUT &CallbackInput, MINIDUMP_CALLBACK_OUTPUT &CallbackOutput ) : bool
DetermineNeededRegions ( ) : void
EnumerateAllNeededRegions ( ) : ulong>>.IEnumerable
FilterVMRegion ( MINIDUMP_CALLBACK_OUTPUT &CallbackOutput ) : void
HasIntervalThatIsSubsetOfInterval ( ulong>.C5 regions, ulong regionStart, ulong regionEnd ) : bool
IsNeededRegion ( ulong regionStart, ulong regionEnd ) : bool
PrepareUserStream ( string dumpComment ) : MINIDUMP_USER_STREAM_INFORMATION
SpillDumpSegmentsToDisk ( ) : void
TouchOtherRegions ( DumpReaderLogger readerLogger, Microsoft.Diagnostics.Runtime.ClrRuntime runtime ) : void

Method Details

Dump() public method

public Dump ( int pid, DumpType dumpType, IntPtr exceptionParam, string fileName, bool writeAsync = false, string dumpComment = null ) : void
pid int
dumpType DumpType
exceptionParam System.IntPtr
fileName string
writeAsync bool
dumpComment string
return void

DumpWriter() public method

public DumpWriter ( TextWriter logger = null ) : System
logger System.IO.TextWriter
return System