UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
MicrosoftPlatformStackWalk.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreTypes.h"
7
13{
14
15protected:
16 // Extract debug info for a module from the module header in memory.
17 // Can directly read the information even when the current target can't load the symbols itself or use certain DbgHelp APIs.
18 static CORE_API bool ExtractInfoFromModule(void* ProcessHandle, void* ModuleHandle, FStackWalkModuleInfo& OutInfo);
19
20 //
21 // If the thread is not the calling thread, it should already have been suspended by the calling code.
22
34 static CORE_API int32 CaptureStackTraceInternal(uint64* OutBacktrace, uint32 MaxDepth, void* Context, void* ThreadHandle, uint32* OutDepth);
35};
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
FPlatformTypes::uint64 uint64
A 64-bit unsigned integer.
Definition Platform.h:1117
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
uint32_t uint32
Definition binka_ue_file_header.h:6
Definition GenericPlatformStackWalk.h:106
Definition MicrosoftPlatformStackWalk.h:13
static CORE_API bool ExtractInfoFromModule(void *ProcessHandle, void *ModuleHandle, FStackWalkModuleInfo &OutInfo)
Definition MicrosoftPlatformStackWalk.cpp:12
static CORE_API int32 CaptureStackTraceInternal(uint64 *OutBacktrace, uint32 MaxDepth, void *Context, void *ThreadHandle, uint32 *OutDepth)
Definition MicrosoftPlatformStackWalk.cpp:80
Definition GenericPlatformStackWalk.h:21