3

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

NeoWang
  • 17,361
  • 24
  • 78
  • 126
  • http://stackoverflow.com/questions/1156023/print-current-call-stack-from-a-method-in-python-code. Is this what you're looking for? – Will Jun 12 '15 at 20:58

0 Answers0