[BangPypers] Tools/libraries to determine the call graph(call flow) of an python program (module/package)
Noufal Ibrahim KV
noufal at nibrahim.net.in
Tue Jan 12 04:48:16 EST 2016
On Tue, Jan 12 2016, ashish makani wrote:
[...]
> Is there a python library/tool/module , to which i give input the start
> point of X, x.py
> and the input arguments, arg1, arg2, ..., argn
I once needed something like this but went about it statically using
this
http://code.activestate.com/recipes/577222-create-module-dependency-graph/
and then added some project specific stuff into it. It got me what I
wanted.
Generally though, the simplest way would be to stick an
import pdb; pdb.set_trace()
inside the appropriate function in v.py and then look at the call stack no?
[...]
--
Cordially,
Noufal
http://nibrahim.net.in
More information about the BangPypers
mailing list