[#BloombergLP-balst-StackTraceUtil] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balst.adoc[balst]::StackTraceUtil :relfileprefix: ../../ :mrdocs: 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>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct StackTraceUtil; ---- == Static Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/balst/StackTraceUtil/hexStackTrace.adoc[`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`. | xref:BloombergLP/balst/StackTraceUtil/loadStackTraceFromAddressArray.adoc[`loadStackTraceFromAddressArray`] | Populate the specified `result` with stack‐trace information from the stack, described by the specified array of `addresses` of length `numAddresses`. | xref:BloombergLP/balst/StackTraceUtil/loadStackTraceFromStack.adoc[`loadStackTraceFromStack`] | Populate the specified `result` object with information about the current thread's program stack. | xref:BloombergLP/balst/StackTraceUtil/printFormatted-00.adoc[`printFormatted`] | `printFormatted` overloads | xref:BloombergLP/balst/StackTraceUtil/printHexStackTrace.adoc[`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`. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#