Build a Call graph in python including modules and functions?

前端 未结 5 1684
醉话见心
醉话见心 2020-12-07 10:46

I have a bunch of scripts to perform a task. And I really need to know the call graph of the project because it is very confusing. I am not able to execute the code because

5条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-07 10:56

    You might want to check out pycallgraph:

    pycallgraph

    Also in this link a more manual approach is described:

    generating-call-graphs-for-understanding-and-refactoring-python-code

提交回复
热议问题