Quick Links: |
#include <balst_stacktraceconfigurationutil.h>
Static Public Member Functions | |
static void | disableResolution () |
static void | enableResolution () |
static bool | isResolutionDisabled () |
This struct
provides a namespace for functions that configure the behavior of stack traces performed by balst
.
See Component balst_stacktraceconfigurationutil
static void balst::StackTraceConfigurationUtil::disableResolution | ( | ) | [static] |
Disable symbol, source file name, and line number resolution in stack traces performed by balst
. Note that such resolution is expensive, involving disk access, and on Windows platforms has thread-safety concerns if the application is using dbghelp.dll
. Disabling resolution allows an application owner to globally prevent any resolution of symbols (by balst
) in the process.
static void balst::StackTraceConfigurationUtil::enableResolution | ( | ) | [static] |
Enable symbol resolution and source file name & line number resolution on platforms that support them in stack traces performed by balst
. Note that such resolution is expensive, involving disk access, and on Windows platforms has thread-safety concerns if the application is using dbghelp.dll
. Enabling resolution (the default state) results in balst
stack traces giving as much information as is available on the platform.
static bool balst::StackTraceConfigurationUtil::isResolutionDisabled | ( | ) | [static] |
Return whether symbol and line number resolution in stack traces is disabled. Note that if neither disableResolution
nor enableResolution
have ever been called, this defaults to false
.