Struct minidump::MinidumpException [−][src]
pub struct MinidumpException { pub raw: MINIDUMP_EXCEPTION_STREAM, pub thread_id: u32, pub context: Option<MinidumpContext>, }
Expand description
Information about the exception that caused the minidump to be generated.
MinidumpException
wraps MINIDUMP_EXCEPTION_STREAM
, which contains information
about the exception that caused the minidump to be generated, if the
minidump was generated in an exception handler called as a result of an
exception. It also provides access to a MinidumpContext
object, which
contains the CPU context for the exception thread at the time the exception
occurred.
Fields
raw: MINIDUMP_EXCEPTION_STREAM
The raw exception information from the minidump stream.
thread_id: u32
The thread that encountered this exception.
context: Option<MinidumpContext>
If present, the CPU context from the time the thread encountered the exception.
This should be used in place of the context contained within the thread with id
thread_id
, since it points to the code location where the exception happened,
without any exception handling routines that are likely to be on the stack after
that point.
Implementations
impl MinidumpException
[src]
impl MinidumpException
[src]pub fn get_crash_address(&self, os: Os) -> u64
[src]
pub fn get_crash_address(&self, os: Os) -> u64
[src]Get the crash address for an exception.
pub fn get_crash_reason(&self, os: Os, cpu: Cpu) -> CrashReason
[src]
pub fn get_crash_reason(&self, os: Os, cpu: Cpu) -> CrashReason
[src]Get the crash reason for an exception.
pub fn get_crashing_thread_id(&self) -> u32
[src]
Trait Implementations
impl Debug for MinidumpException
[src]
impl Debug for MinidumpException
[src]impl<'a> MinidumpStream<'a> for MinidumpException
[src]
impl<'a> MinidumpStream<'a> for MinidumpException
[src]