[pypy-dev] Pygame graph viewer

Armin Rigo arigo at tunes.org
Tue May 11 21:56:37 CEST 2004


I've been hacking on a Pygame-based viewer for the control flow graphs.  
See pypy/translator/tool/pygame/graphviewer.py.  The idea is to display the 
graph as computed by 'dot', but more interactively.  The hard part was to 
figure out where, in the image, each variable name actually is on the screen; 
now you can move the mouse around and when it is over a variable name you see 
the corresponding annotation, inferred by the new stuff in pypy/annotation/.

The goal is to clean up and link it to the annotator a bit more, so that you
can see it while it progresses (as if doing a step-by-step debugging).  I
guess it would be quite a useful debugging tool, aside from being
presentation-friendly :-)

A bientot,


More information about the Pypy-dev mailing list