GPUDebugCrash

GPUDebugCrash

#Overview

name: GPUDebugCrash

This variable is created as a Console Variable (cvar).

It is referenced in 2 C++ source files.

#Summary

#References in C++ code

#Callsites

This variable is referenced in the following C++ source code:

#Loc: <Workspace>/Engine/Source/Runtime/Core/Private/HAL/ConsoleManager.cpp:3368

Scope (from outer to inner):

file
function     void CreateConsoleVariables

Source code excerpt:


#if WITH_GPUDEBUGCRASH
	IConsoleManager::Get().RegisterConsoleCommand(TEXT("GPUDebugCrash"), TEXT("Crash GPU intentionally for debugging."), ECVF_Cheat);
#endif

#if UE_ENABLE_ARRAY_SLACK_TRACKING
	IConsoleManager::Get().RegisterConsoleCommand(TEXT("SlackReport"),
		TEXT("Generate an array slack memory report to Saved/Logs/SlackReport.  TSV format can be loaded as a spreadsheet.\nUage: SlackReport [Filename] [-Stack=N] [-Verbose=0,1]\nIf no filename, writes to a default filename which increments each report.\nStack setting specifies number of stack frames to consider when grouping allocations"),
		ECVF_Default);

#Loc: <Workspace>/Engine/Source/Runtime/Core/Public/Misc/Build.h:406

Scope: file

Source code excerpt:

#endif

// GPUDebugCrash
#define WITH_GPUDEBUGCRASH (!(UE_BUILD_SHIPPING || UE_BUILD_TEST) || (UE_BUILD_TEST && ALLOW_GPUDEBUGCRASH_IN_TEST) || (UE_BUILD_SHIPPING && ALLOW_GPUDEBUGCRASH_IN_SHIPPING))

#ifndef ALLOW_CHEAT_CVARS_IN_TEST
	#define ALLOW_CHEAT_CVARS_IN_TEST 1
#endif