# C++ Breakpoints - works with Actors, does not with Function Libraries

**URL:** <https://forums.unrealengine.com/t/c-breakpoints-works-with-actors-does-not-with-function-libraries/337767>\
**Category:** Debugging, Optimization, & Profiling\
**Tags:** Debugging, breakpoint, unreal-engine, Visual-Studio, UE4, question, CPP\
**Created:** [November 7, 2015, 6:05pm UTC](https://forums.unrealengine.com/t/c-breakpoints-works-with-actors-does-not-with-function-libraries/337767 "2015-11-07T18:05:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_2bee7724](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2bee7724](https://forums.unrealengine.com/u/anonymous_user_2bee7724)\
**Post date:** [November 7, 2015, 6:05pm UTC](https://forums.unrealengine.com/t/c-breakpoints-works-with-actors-does-not-with-function-libraries/337767/1 "2015-11-07T18:05:27Z")

</div>

I have created a C++ Function Library with a simple static UFunction and set a breakpoint in it, I’ve tried all of the Solution Configurations and none of them makes the breakpoint actually trigger when the function is run.

However, breakpoints work perfectly with an Actor class.

Is this normal behavior or should I consider it a bug?

---

<div class="post-metadata">

**Author:** ![plangton](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@plangton](https://forums.unrealengine.com/u/plangton)\
**Post date:** [May 12, 2017, 12:42pm UTC](https://forums.unrealengine.com/t/c-breakpoints-works-with-actors-does-not-with-function-libraries/337767/2 "2017-05-12T12:42:00Z")

</div>

if you add a log in the function, will it be written in the output window ?
