Abnormal Switch Case Behavior

Hello,
I have a simple switch-case function, but my const switchParameter changes himself in the function.
What is the problem?

When I jump into the function, the number is right:


When I press F11 it jumps to this:

Then this:

And this:

Looks fine to me. First thing I’d check is if you’ve compiled your code in debug as the watch data isn’t reliable in release.

I was in the mode “Development Editor”.
And well, that solved the Problem :slight_smile:

Thank you :slight_smile: