Here's my situation:
I have a function that's called from a number of different places.
And one of those places calls that function where it should not. Which causes undesired behaviour.
I know that there is an additional call that I did not plan. But I do not know, where it comes from. Who does it.
I know that we can see a traceback when something crashes (who calls who, from start to end). But can I somehow enable same kind of logging just every time a function is called? Maybe you can provide an example?
Thanks in advance!