How to Print Out the Script Call Stack While Stopped at a Breakpoint

,

How to Print Out the Script Call Stack While Stopped at a Breakpoint

Open the Immediate Window in Visual Studio while debugging and paste in…

{,,UnrealEditor-Core}::PrintScriptCallstack() (for UE5)
or
{,,UE4Editor-Core}::PrintScriptCallstack() (for UE4)

You can also alias this, so you don’t have to look it up each time.

alias PrintBPStack eval {,,UE4Editor-Core}::PrintScriptCallstack()
PrintBPStack

:warning: Note the arrow - you must add this or the processor will attempt to resolve a variable with that name

See more on the Knowledge Base.