I am trying to read some source code from some open source python project, like ipython. I often find it hard to follow the execution flow of methods in different classes, even using eclipse's debug tool and execute the code step by step. I don't quite know why the code jumps to certain methods in a distantly related class.
I know that it must be the inheritance hierarchy, but I find it hard to follow. Is there any tools that help to understand how the code executes? Like visualizing the execution order of different methods? Hope it's not a entirely naive question.
Thanks.
The jumps are caused by your functions calling another function which in tern calls another function.