You can use the Python debugger too.

Simply import pdb and add pdb.set_trace() where you want your first
breakpoint. You can step through after that point and inspect
variables, etc.

http://www.ferg.org/papers/debugging_in_python.html

Don't forget to wrap your breakpoints with "if settings.DEBUG" in case
you forget to remove them when deploying your application.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to