/Engine/Source/Runtime/Core/Public/Misc/AutomationTest.h
Used to disabled stack capture when an error or warning event is triggered. Setting bCapture=true does not guaranteesGetCaptureStack()=true because that method also depend onNeedSkipStackWalk().
void SetCaptureStack ( bool bCapture )