Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #95052
| From | Terry Reedy <tjreedy@udel.edu> |
|---|---|
| Subject | Re: How to trace the recursive path? |
| Date | 2015-08-05 21:15 -0400 |
| References | <f8e7cfba-c0dd-400b-8b4d-f19a1334f0a6@googlegroups.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1257.1438823752.3674.python-list@python.org> (permalink) |
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
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
How to trace the recursive path? jennyfurtado2@gmail.com - 2015-08-05 09:33 -0700 Re: How to trace the recursive path? Terry Reedy <tjreedy@udel.edu> - 2015-08-05 21:15 -0400
csiph-web