#include <balst_stacktraceconfigurationutil.h>
This struct
provides a namespace for functions that configure the behavior of stack traces performed by balst
.
◆ disableResolution()
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.
◆ enableResolution()
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.
◆ isResolutionDisabled()
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
.
The documentation for this struct was generated from the following file: