thanks & true Noufal, but 2 points : 1. i imagine this is a fairly common usecase you are given some source python codebase , X which is moderately complex
i just want to give X & some typical args which X takes, to a tool/library, so i get a visual, rough understanding of the typical call flow when X is run. As in, i dont want to instrument or "decorate" the python codebase X, treat X as a blackbox what say ? 2. it seems like some easy to use library is out there which spits out that pretty visual call flow diagram/graph which seems more intuitive(though maybe less precise ?) than a text call stack thanks ashish On Tue, Jan 12, 2016 at 3:18 PM, Noufal Ibrahim KV <nou...@nibrahim.net.in> wrote: > 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 > _______________________________________________ > BangPypers mailing list > BangPypers@python.org > https://mail.python.org/mailman/listinfo/bangpypers > _______________________________________________ BangPypers mailing list BangPypers@python.org https://mail.python.org/mailman/listinfo/bangpypers