UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FScopedDebugInfo Class Referenceabstract

#include <ScopedDebugInfo.h>

+ Inheritance diagram for FScopedDebugInfo:

Public Types

enum  { MaxDescriptionLength = 128 }
 

Public Member Functions

CORE_API FScopedDebugInfo (int32 InNumReplacedOuterCalls)
 
virtual CORE_API ~FScopedDebugInfo ()
 
virtual FString GetFunctionName () const =0
 
virtual FString GetFilename () const =0
 
virtual int32 GetLineNumber () const =0
 

Static Public Member Functions

static CORE_API FScopedDebugInfoGetDebugInfoStack ()
 

Public Attributes

const int32 NumReplacedOuterCalls
 
FScopedDebugInfo *const NextOuterInfo
 

Detailed Description

Debug info that is stored on the stack and handled by stack unwinding.

Member Enumeration Documentation

◆ anonymous enum

Enumerator
MaxDescriptionLength 

Constructor & Destructor Documentation

◆ FScopedDebugInfo()

FScopedDebugInfo::FScopedDebugInfo ( int32  InNumReplacedOuterCalls)

Initialization constructor.

◆ ~FScopedDebugInfo()

FScopedDebugInfo::~FScopedDebugInfo ( )
virtual

Destructor.

Member Function Documentation

◆ GetDebugInfoStack()

FScopedDebugInfo * FScopedDebugInfo::GetDebugInfoStack ( )
static

Accesses the list of debug infos on the stack in this thread.

◆ GetFilename()

virtual FString FScopedDebugInfo::GetFilename ( ) const
pure virtual
Returns
The filename to display on the call stack for this debug info.

Implemented in FStreamableTextureScopedDebugInfo.

◆ GetFunctionName()

virtual FString FScopedDebugInfo::GetFunctionName ( ) const
pure virtual
Returns
The "function name" to display on the call stack for this debug info.

Implemented in FStreamableTextureScopedDebugInfo.

◆ GetLineNumber()

virtual int32 FScopedDebugInfo::GetLineNumber ( ) const
pure virtual
Returns
The line number to display on the call stack for this debug info.

Implemented in FStreamableTextureScopedDebugInfo.

Member Data Documentation

◆ NextOuterInfo

FScopedDebugInfo* const FScopedDebugInfo::NextOuterInfo

The next debug info on the stack, or NULL if this is the last debug info on the stack.

◆ NumReplacedOuterCalls

const int32 FScopedDebugInfo::NumReplacedOuterCalls

The number of calls on the stack the debug info replaces.


The documentation for this class was generated from the following files: