CrashThreadState Struct Reference

#include <crashhandler.h>

Detailed Description

Thread state including registers, stack backtrace and name.

Public Member Functions

 CrashThreadState (const char *name=nullptr, void *osThread=nullptr)
 
 CrashThreadState (CrashThreadState &&src)
 
 MAXON_OPERATOR_MOVE_ASSIGNMENT (CrashThreadState)
 

Public Attributes

const char * _name
 
void * _osThread
 
UChar _stackDump [256]
 
UChar _codeDump [256]
 
BaseArray< CrashRegisterValue, BASEARRAY_DEFAULT_CHUNK_SIZE, BASEARRAYFLAGS::NONE, CStdLibAllocator_registers
 
BaseArray< CrashCallStackEntry, BASEARRAY_DEFAULT_CHUNK_SIZE, BASEARRAYFLAGS::NONE, CStdLibAllocator_stack
 

Constructor & Destructor Documentation

◆ CrashThreadState() [1/2]

CrashThreadState ( const char *  name = nullptr,
void *  osThread = nullptr 
)
explicit

◆ CrashThreadState() [2/2]

Member Function Documentation

◆ MAXON_OPERATOR_MOVE_ASSIGNMENT()

MAXON_OPERATOR_MOVE_ASSIGNMENT ( CrashThreadState  )

Member Data Documentation

◆ _name

const char* _name

◆ _osThread

void* _osThread

◆ _stackDump

UChar _stackDump[256]

◆ _codeDump

UChar _codeDump[256]

◆ _registers

◆ _stack