Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Misc > API/Runtime/Core/Misc/FDebug
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Misc/AssertionMacros.h |
| Include | #include "Misc/AssertionMacros.h" |
| Source | /Engine/Source/Runtime/Core/Private/Misc/AssertionMacros.cpp |
static &42;staticvoid EnsureFailed
&40;
const ANSICHAR &42; Expr,
const ANSICHAR &42; File,
int32 Line,
void &42; ProgramCounter,
const TCHAR &42; Msg
&41;
Remarks
Called when an 'ensure' assertion fails; gathers stack data and generates and error report.
Don't change the name of this function, it's used to detect ensures by the crash reporter.
Called when an 'ensure' assertion fails; gathers stack data and generates and error report.
Parameters
| Name | Description |
|---|---|
| Expr | Code expression ANSI string (#code) |
| File | File name ANSI string (FILE) |
| Line | Line number (LINE) |
| Msg | Informative error message text |
| NumStackFramesToIgnore | Number of stack frames to ignore in the ensure message |
| Expr | Code expression ANSI string (#code) |
| File | File name ANSI string (FILE) |
| Line | Line number (LINE) |
| Msg | Informative error message text |
| NumStackFramesToIgnore | Number of stack frames to ignore in the callstack |