# obtaining the call stack of a function during debugging

**URL:** <https://forums.unrealengine.com/t/obtaining-the-call-stack-of-a-function-during-debugging/2426434>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, question\
**Created:** [March 29, 2025, 11:51am UTC](https://forums.unrealengine.com/t/obtaining-the-call-stack-of-a-function-during-debugging/2426434 "2025-03-29T11:51:47Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [March 29, 2025, 12:00pm UTC](https://forums.unrealengine.com/t/obtaining-the-call-stack-of-a-function-during-debugging/2426434/2 "2025-03-29T12:00:40Z")

</div>

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

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/5/6/f5624af772e77ef73cef0b2cf430632a5ebb5ae7.png)

You can also put a callstack into a log via

```auto
 FDebug::DumpStackTraceToLog() 

```

> [@How to print callstack into log?](https://forums.unrealengine.com/t/how-to-print-callstack-into-log/363084/6):
>
> I know it’s 2 years late, but FDebug::DumpStackTraceToLog() will do exactly this.

---

_[View the full topic](https://forums.unrealengine.com/t/obtaining-the-call-stack-of-a-function-during-debugging/2426434)._
