BloombergLP::balst::StackTracePrintUtil_Test::printStackTraceToString

Obtain a stack trace and assign a description of the stack to the specified string.

Synopsis

Declared in <balst_stacktraceprintutil.h>

static
void
printStackTraceToString(bsl::string* string);

Description

Note that this method is for testing only, and must be declared inline in an include file in order to test source file name resolution of a routine in an include file.

Parameters

NameDescription
stringdestination for the formatted stack-trace description