IPython 0.11 RC - First major release in two years
ipython.org
ipython.org
Just:
import ipdb
ipdb.set_trace()
And you can now inspect and change any part of your code, right in the middle of your app. This includes prototyping variou fixes to your bug. I wish it was a standard part of Python, it's truly awesome.