I added a new WSGI middleware to Paste this weekend, in
paste.evalexception:EvalException
<http://svn.pythonpaste.org/Paste/trunk/paste/evalexception/> (or
just egg:Paste#evalerror if you are using paste.deploy). This adds to exception reports,
allowing you to inspect and evaluate code in the context of individual
frames of the traceback. Like everything in Paste, this can be applied
to any WSGI application/framework.
Since I can't give a live online demo -- since this specifically allows you
to evaluate arbitrary code -- I thought I'd try a screencast. My
first screencast!
Go view the screencast.
Since people are always curious, this was created with pyvnc2swf, and I
recorded the audio track separately and then merged (with the included
edit.py).