TraceInfo

This struct us used to mimic private class in https://github.com/dlang/druntime/blob/master/src/core/runtime.d#L734 so we can access callstack.

Constructors

this
this(Throwable ex)

Gather trace info from Throwable

this
this(Throwable.TraceInfo ti)
Undocumented in source.

Members

Functions

dumpTo
size_t dumpTo(S sink)

Dumps trace info to the provided sink.

Properties

frames
void*[] frames [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

current
TraceInfo current()

Gets current trace info

Static variables

MAXFRAMES
enum MAXFRAMES;
Undocumented in source.

Variables

_interface
void* _interface;
Undocumented in source.
_monitor
void* _monitor;
Undocumented in source.
_vtbl
void* _vtbl;
Undocumented in source.
callstack
void*[MAXFRAMES] callstack;
Undocumented in source.
numframes
int numframes;
Undocumented in source.

Meta