BDE 4.14.0 Production release
Loading...
Searching...
No Matches
balst::StackTraceConfigurationUtil Struct Reference

#include <balst_stacktraceconfigurationutil.h>

Static Public Member Functions

static void disableResolution ()
 
static void enableResolution ()
 
static bool isResolutionDisabled ()
 

Detailed Description

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

Member Function Documentation

◆ 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: