A visualizer for execution patterns in Python programs
This script traces execution pathways in a Python program and lets you track specific objects being passed through the structure. Loops pull related methods and classes together, while a tracery of 'flashes' shows rarely-called execution paths which you can get information on by hovering over them with the mouse.
You can visualize all calls, specifically only calls involving particular classes (Methods setting), or specifically only calls which pass a member of a particular class ('Flows Through' setting)
To use it:
- In a terminal, run python tracer.py your-python-program.py
- Load vizualizer.html in your browser
- Hit enter in the terminal session