BasicTraceInfo

basic class that represents a stacktrace

Constructors

this
this()

cretes an empty stacktrace

this
this(size_t[] traceAddresses, AddrPrecision addrPrecision)

creates a stacktrace with the given traceAddresses

Members

Functions

opApply
int opApply(int delegate(ref const(char[])) dg)

loops on the stacktrace

opApply
int opApply(int delegate(ref size_t line, ref const(char[]) func) loopBody)
Undocumented in source. Be warned that the author may not have intended to support it.
opApply
int opApply(int delegate(ref FrameInfo fInfo) loopBody)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
immutable(char)[] toString()
Undocumented in source. Be warned that the author may not have intended to support it.
trace
void trace(TraceContext* contextIn, int skipFrames)

takes a stacktrace

writeOut
void writeOut(void delegate(const(char[])) sink)

Writes out the stacktrace.

Variables

addrPrecision
AddrPrecision addrPrecision;
Undocumented in source.
context
TraceContext context;
Undocumented in source.
traceAddresses
size_t[] traceAddresses;
Undocumented in source.
traceBuf
size_t[128] traceBuf;
Undocumented in source.

Meta