Feb 29, 2012

Python Debuggers

pudb
http://adw0rd.com/2012/3/24/python-django-pudb/
http://habrahabr.ru/post/158139/

pydbgr

pdb / ipdb
http://adw0rd.com/2012/10/7/python-pdb/
# set break point in Company.get_location()
import pdb; pdb.set_trace()

# in python shell
import pdb
from accounts.models import Company
Company.objects.all()[0].get_location()
# (Pdb) self
# (Pdb) next
# (Pdb) ...
# (Pdb) next
# (Pdb) step
# (Pdb) return
# (Pdb) continue
django-extensions
./manage.py runserver_plus

No comments: