This struct serves as a namespace for a collection of functions that are useful for initializing and printing a stack‐trace object.

Synopsis

Declared in <balst_stacktraceutil.h>

struct StackTraceUtil;

Static Member Functions

Name

Description

hexStackTrace

Write to the specified stream the stack addresses from a stack trace of the current thread, in hex from top to bottom, and return stream.

loadStackTraceFromAddressArray

Populate the specified result with stack‐trace information from the stack, described by the specified array of addresses of length numAddresses.

loadStackTraceFromStack

Populate the specified result object with information about the current thread's program stack.

printFormatted

printFormatted overloads

printHexStackTrace

Write to the specified stream the stack addresses from a stack trace of the current thread, in hex from top to bottom, and return stream.

Created with MrDocs