MaxNumOfAccessViolation
MaxNumOfAccessViolation
#Overview
name: MaxNumOfAccessViolation
The value of this variable can be defined or overridden in .ini config files. 1
.ini config file referencing this setting variable.
It is referenced in 1
C++ source file.
#Summary
#Setting Variables
#References In INI files
Location: <Workspace>/Engine/Config/BaseEditor.ini:319, section: [ScriptErrorLog]
- INI Section:
ScriptErrorLog
- Raw value:
16
- Is Array:
False
#References in C++ code
#Callsites
This variable is referenced in the following C++ source code:
#Loc: <Workspace>/Engine/Source/Runtime/CoreUObject/Private/UObject/ScriptCore.cpp:321
Scope (from outer to inner):
file
function bool FBlueprintContextTracker::RecordAccessViolation
function FIntConfigValueHelper
Source code excerpt:
FIntConfigValueHelper() : Value(0)
{
GConfig->GetInt(TEXT("ScriptErrorLog"), TEXT("MaxNumOfAccessViolation"), Value, GEditorIni);
}
};
static const FIntConfigValueHelper MaxNumOfAccessViolation;
if (MaxNumOfAccessViolation.Value > 0)
{
const FName ActiveObjectName = Object ? Object->GetFName() : FName();
int32& Num = DisplayedWarningsMap.FindOrAdd(ActiveObjectName);
Num++;
if (Num > MaxNumOfAccessViolation.Value)
{
// Skip the generic warning, we've hit this one too many times
return false;
}
}
return true;