How to trace the recursive path?

Terry Reedy tjreedy at
Thu Aug 6 03:15:37 CEST 2015

trace --trackcalls
Display the calling relationships exposed by running the program.

will give you part of what you want, but only counts.

I would just add print('xyx calledl') at the top of each function you 
want traced.

Terry Jan Reedy

More information about the Python-list mailing list