Schrodingers Super Call: Parent function does and doesn't work

I started with the 3rd person template and override the virtual jump function from the ACharacter class.

void AMyDerivedCharacter::Jump()
{
	Super::Jump();
    // Do some other stuff
}

I think the parent class Jump function from ACharacter is working since the character still jumps in the air but the debugger will not step into it and I can’t bind a breakpoint to it. At first I thought perhaps compiler optimisation (even though the function can’t be inlined and is non-trivial) but any logging I put in the parent function also doesn’t seem to be appear anywhere.

Does anyone know what is going on?

Thanks!

Logging in the parent function? Are you rebuilding the engine from source?

Did you end up solving that problem? If so, how?

EDIT: OK in my case the parent function was optimized out, and the call was made to the grandparent function instead. I added more code inside of the parent function (e.g. a logging function call), and now it is correctly called. You can also wrap your parent function with #pragma optimize("", off) and #pragma optimize("", on).