# 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:** 1\
**Showing post:** 2

<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.

---

_[View the full topic](https://forums.unrealengine.com/t/c-callstack-when-warning-print/692018)._
