tModLoader v2024.10
A mod to make and play Terraria mods
CrashDump Class Reference

Public Types

enum  Options : uint {
  Normal = 0u , WithDataSegs = 1u , WithFullMemory = 2u , WithHandleData = 4u ,
  FilterMemory = 8u , ScanMemory = 0x10u , WithUnloadedModules = 0x20u , WithIndirectlyReferencedMemory = 0x40u ,
  FilterModulePaths = 0x80u , WithProcessThreadData = 0x100u , WithPrivateReadWriteMemory = 0x200u , WithoutOptionalData = 0x400u ,
  WithFullMemoryInfo = 0x800u , WithThreadInfo = 0x1000u , WithCodeSegs = 0x2000u , WithoutAuxiliaryState = 0x4000u ,
  WithFullAuxiliaryState = 0x8000u , WithPrivateWriteCopyMemory = 0x10000u , IgnoreInaccessibleMemory = 0x20000u , ValidTypeFlags = 0x3FFFFu
}
 

Static Public Member Functions

static bool Write (Options options, string outputDirectory=".")
 
static bool WriteException (Options options, string outputDirectory=".")
 
static string WriteExceptionAsZipAndClearOld (Options options, IntPtr exceptionPointers)
 Writes a dump to the logs folder, zips it, and deletes old dumps. Intended to preserve a single dump for client and server to not waste harddrive space.