# C++ Callstack when Warning Print

**URL:** <https://forums.unrealengine.com/t/c-callstack-when-warning-print/692018>\
**Category:** C++\
**Tags:** unreal-engine, question, CPP\
**Created:** [November 16, 2022, 1:46pm UTC](https://forums.unrealengine.com/t/c-callstack-when-warning-print/692018 "2022-11-16T13:46:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![somaweb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@somaweb](https://forums.unrealengine.com/u/somaweb)\
**Post date:** [November 16, 2022, 1:46pm UTC](https://forums.unrealengine.com/t/c-callstack-when-warning-print/692018/1 "2022-11-16T13:46:58Z")

</div>

Hi Everybody, any idea how I force the engine to Print Callstacks once warnings are printed. Would help us alot when running test.

We do get some Warnings like:

```auto
Attempting to release an actor with a null handle

```

or

```auto
FMemberReference::ResolveMember (GetOverlappingActors) bSelfContext == true, but no scope supplied!
Warning LogBlueprint

```

And I would love to see which class/object/blueprint is causing these messages **in the editor**.

Thanks for any tipps!

---

<div class="post-metadata">

**Author:** ![IrSoil](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@IrSoil](https://forums.unrealengine.com/u/IrSoil)\
**Post date:** [November 16, 2022, 3:04pm UTC](https://forums.unrealengine.com/t/c-callstack-when-warning-print/692018/2 "2022-11-16T15:04:10Z")

</div>

> [@How to print callstack into log?](https://forums.unrealengine.com/t/how-to-print-callstack-into-log/363084):
>
> Hey guys, How can i print call stack into log ? In blueprint there is Stack Trace node but I can not call that directly in c++ because of linker errors. What is the best way to print callstack in code ?

Last two messages - are answers for both manual callstack printing and on-warnings.

Another option - you can go to exact warning line, put breakpoint here and see stack with debugger.
