How to determine if a function is called in a loop inside a python trace function?
In the tracer callback set with python sys.settrace()
, I can get the function name, line number, etc. Now I want to know if the tracked current function in the loop is being called by its caller. Is there a way to do this?