This struct provides a namespace for functions that configure the behavior of stack traces performed by balst.

Synopsis

Declared in <balst_stacktraceconfigurationutil.h>

struct StackTraceConfigurationUtil;

Static Member Functions

Name

Description

disableResolution

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

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

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.

Created with MrDocs