obtaining the call stack of a function during debugging

hi

is there a way to obtain the call stack of a function during debugging
i have a function that is called by a number of other functions
when i run the project in the editor i get an error at some point about a null value referenced in a particular function
i am trying to figure out which function is the calling function when i hit a null value inside a function according to the call stack

thanks

Most IDE’s have a callstack window built in that you can check. Just put a breakpoint where you want to start checking.

You can also put a callstack into a log via

 FDebug::DumpStackTraceToLog() 

yes i am already using breakpoints

let me see whether i can find the callstack window in unreal editor 5

It’s not in Unreal. It’s in your IDE.

There seems to be some resemblance in BP

Look at the blueprint debugger portion.

seems you are implying there is only some resemblance

You will only get what unreal serves you. Not a 100% sure it will reflect the full call stack of c++ functions outside of unreal’s blueprints (you can have windows / linux specific calls etc that might not show up)

I only use IDE callstack windows (c++) so I can’t be a certain it’s a 1:1 thing :slight_smile: