[#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&hyphen;trace object&period;

== Synopsis

Declared in `&lt;balst&lowbar;stacktraceutil&period;h&gt;`

[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`&period;
| xref:BloombergLP/balst/StackTraceUtil/loadStackTraceFromAddressArray.adoc[`loadStackTraceFromAddressArray`] 
| Populate the specified `result` with stack&hyphen;trace information from the stack, described by the specified array of `addresses` of length `numAddresses`&period;
| xref:BloombergLP/balst/StackTraceUtil/loadStackTraceFromStack.adoc[`loadStackTraceFromStack`] 
| Populate the specified `result` object with information about the current thread&apos;s program stack&period;
| 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`&period;
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
