Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Misc
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Misc/AssertionMacros.h |
Include | #include "Misc/AssertionMacros.h" |
Syntax
struct FDebug
Remarks
FDebug These functions offer debugging and diagnostic functionality and its presence depends on compiler switches.
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | AssertFailed
(
const ANSICHAR* Expr, |
Logs final assert message and exits the program. |
![]() ![]() |
void | AssertFailedV
(
const ANSICHAR* Expr, |
|
![]() ![]() |
**staticvoidUE_DEBUG_SECTION | CheckVerifyFailed
(
const ANSICHAR* Expr, |
/*** Called when a 'check/verify' assertion fails. |
![]() ![]() |
bool | CheckVerifyFailedImpl
(
const ANSICHAR* Expr, |
|
![]() ![]() |
void | DumpStackTraceToLog
(
const ELogVerbosity::Type LogVerbosity |
Dumps the stack trace into the log, meant to be used for debugging purposes. |
![]() ![]() |
void | DumpStackTraceToLog
(
const TCHAR* Heading, |
Dumps the stack trace into the log with a custom heading, meant to be used for debugging purposes. |
![]() ![]() |
*staticvoid | EnsureFailed
(
const ANSICHAR* Expr, |
Called when an 'ensure' assertion fails; gathers stack data and generates and error report. |
![]() ![]() |
SIZE_T | Returns the number of times an ensure has failed in this instance. | |
![]() ![]() |
bool | HasAsserted () |
Returns true if an assert has occurred |
![]() ![]() |
bool | IsEnsuring () |
Returns true if an ensure is currently in progress (e.g. the RenderThread is ensuring) |
![]() ![]() |
void | LogFormattedMessageWithCallstack
(
const FName& LogName, |
Logs an a message to the provided log channel. |
![]() ![]() |
bool | OptionallyLogFormattedEnsureMessageReturningFalse
(
bool bLog, |
Logs an error if bLog is true, and returns false. |
![]() ![]() |
bool | OptionallyLogFormattedEnsureMessageReturningFalse
(
bool bLog, |
|
![]() ![]() |
void | ProcessFatalError
(
void* ProgramCounter |
Triggers a fatal error, using the error formatted to GErrorHist via a previous call to FMsg |