FGenericPlatformStackWalk::ThreadStackWalkAndDump

Walks the stack for the specified thread and appends the human readable string to the passed in one.

Windows
MacOS
Linux

Warnings

  • The code assumes that HumanReadableString is large enough to contain the information.

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformStackWalk.h

Include

#include "GenericPlatform/GenericPlatformStackWalk.h"

Syntax

static void ThreadStackWalkAndDump
(
    ANSICHAR * HumanReadableString,
    SIZE_T HumanReadableStringSize,
    int32 IgnoreCount,
    uint32 ThreadId
)

Remarks

Walks the stack for the specified thread and appends the human readable string to the passed in one.

: The code assumes that HumanReadableString is large enough to contain the information.

Parameters

Parameter

Description

HumanReadableString

String to concatenate information with

HumanReadableStringSize

size of string in characters

IgnoreCount

Number of stack entries to ignore (some are guaranteed to be in the stack walking code)

ThreadId

ThreadId to walk the strack for.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss