FrameInfo

Undocumented in source.

Members

Aliases

FramePrintHandler
alias FramePrintHandler = void function(FrameInfo*, void delegate(in char[]))
Undocumented in source.

Functions

clear
void clear()

clears the frame information stored

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

writes out the current frame info

Static variables

defaultFramePrintingFunction
FramePrintHandler defaultFramePrintingFunction;

the default printing function

Variables

address
size_t address;

adress of the function, or at which the ipc will return (which most likely is the one after the adress where it started) this is the raw adress returned by the backtracing function

baseImg
size_t baseImg;

base adress of the image (will be dependent on randomization schemes)

baseSymb
size_t baseSymb;

adress of the symbol in this execution

exactAddress
bool exactAddress;

if the address is exact or it is the return address

extra
const(char)[] extra;

extra information (for example calling arguments)

file
const(char)[] file;

file (image) of the current adress

func
char[] func;

name of the function, if possible demangled

iframe
size_t iframe;

number of the stack frame (starting at 0 for the top frame)

internalFunction
bool internalFunction;

if this function is an internal functions (for example the backtracing function itself) if true by default the frame is not printed

line
long line;

line number in the source of the most likely start adress (0 if not available)

offsetImg
ptrdiff_t offsetImg;

offset within the image (from this you can use better methods to get line number a posteriory)

offsetSymb
ptrdiff_t offsetSymb;

offset from baseSymb: within the function, or from the closest symbol

Meta