Navigation
API > API/Runtime > API/Runtime/Core
FDebug These functions offer debugging and diagnostic functionality and its presence depends on compiler switches.
| Name | FDebug |
| Type | struct |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/AssertionMacros.h |
| Include Path | #include "Misc/AssertionMacros.h" |
Syntax
struct FDebug
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void AssertFailed
(
const ANSICHAR* Expr, |
Logs final assert message and exits the program. | Misc/AssertionMacros.h | |
static void AssertFailedV
(
const ANSICHAR* Expr, |
Misc/AssertionMacros.h | ||
static bool CheckVerifyFailedImpl
(
const ANSICHAR* Expr, |
Misc/AssertionMacros.h | ||
static bool CheckVerifyFailedImpl2
(
const ANSICHAR* Expr, |
Misc/AssertionMacros.h | ||
static bool CheckVerifyFailedImpl2V
(
const ANSICHAR* Expr, |
Misc/AssertionMacros.h | ||
static void DumpStackTraceToLog
(
const TCHAR* Heading, |
Dumps the stack trace into the log with a custom heading, meant to be used for debugging purposes. | Misc/AssertionMacros.h | |
static void DumpStackTraceToLog
(
const ELogVerbosity::Type LogVerbosity |
Dumps the stack trace into the log, meant to be used for debugging purposes. | Misc/AssertionMacros.h | |
static void EnsureFailed
(
const ANSICHAR* Expr, |
/** | Misc/AssertionMacros.h | |
static SIZE_T GetNumEnsureFailures() |
Returns the number of times an ensure has failed in this instance. | Misc/AssertionMacros.h | |
static bool HasAsserted() |
Returns true if an assert has occurred | Misc/AssertionMacros.h | |
static bool IsEnsuring() |
Returns true if an ensure is currently in progress (e.g. the RenderThread is ensuring) | Misc/AssertionMacros.h | |
static void LogAssertFailedMessageImpl
(
const ANSICHAR* Expr, |
Misc/AssertionMacros.h | ||
static void LogAssertFailedMessageImplV
(
const ANSICHAR* Expr, |
Misc/AssertionMacros.h | ||
static void LogFormattedMessageWithCallstack
(
const FName& LogName, |
Logs an a message to the provided log channel. | Misc/AssertionMacros.h | |
static bool OptionallyLogFormattedEnsureMessageReturningFalse
(
bool bLog, |
Logs an error if bLog is true, and returns false. | Misc/AssertionMacros.h | |
static bool OptionallyLogFormattedEnsureMessageReturningFalse
(
bool bLog, |
Misc/AssertionMacros.h | ||
static bool OptionallyLogFormattedEnsureMessageReturningFalseImpl
(
bool bLog, |
Misc/AssertionMacros.h | ||
static bool OptionallyLogFormattedEnsureMessageReturningFalseImpl
(
bool bLog, |
Misc/AssertionMacros.h | ||
static void ProcessFatalError
(
void* ProgramCounter |
Triggers a fatal error, using the error formatted to GErrorHist via a previous call to FMsg | Misc/AssertionMacros.h |