Interactive Debugging in Pylons

January 10th, 2007

Pylons uses MochiKit to provide an interactive debugger in stack traces. Each of the little “+” buttons in the picture below expand to a python prompt in each frame.

pylons-debug.png

This feature really speeds up debugging. Overall, I’m impressed with Pylons. It provides just the right amount support. It provides support for deployment, dependencies, unit tests, and other drudgery, but lets the author choose which components to use otherwise. I’m using the Pylons controllers and routers with SQLAlchemy, Genshi, and AuthKit.

I find this setup about as productive as Rails or Django, but with reduced Kool-Aid consumption.

Leave a Reply