Some projects are so big that in order to understand for example a function call requires you to go through many different blocks of code all throughout the project(e.g. in projects with scarcely documented api's). Many times just looking at it isn't always enough, I need to often write it down because you need to look back and forth between the different code blocks.
Is there any program that allows you to insert a function/method or class and get a complete traceback report for that with all the code it calls upon? It would also be handy if at the same time that program showed you the directory structure of that code.
Edit
====
I refined my question in this stack thread. I would prefer not to startup a gui for this process each time. Just one python function call to get the trace output seems the best solution.
The answer to this question is from this stack thread.
import trace
def trapy(arg):
tracer = trace.Trace()
tracer.run(arg)
r = tracer.results()
r.write_results()
if __name__ == '__main__':
import module_name
trapy('module_name.function_name()')