2009/2/11 Karen Tracey <kmtra...@gmail.com>:
> On Wed, Feb 11, 2009 at 3:01 PM, phoebebright <phoebebright...@gmail.com>
> wrote:
>>
>> I need to see the contents of some objects that are passed as
>> parameters into a function.  I can stop the function (assert false)
>> and look at the traceback, but it doesn't tell me the contents of the
>> objects.  I have tried print statemnts, pickle and pprint.  I don't
>> want to stray into the methods of debugging as in this thread
>>
>> http://groups.google.com/group/django-users/browse_thread/thread/7ba442f5f5b1f04f/541eab57736537c5?hl=en&lnk=gst&q=debugging#541eab57736537c5
>> - deadline is tight.  I just want to output the contents of an
>> object!
>

Install django_extensions (along with werkzeug), and it'll give you an
interactive debugger, right in your browser.  You'll then be able to
assert, and examine everything just by typing its name.  Technically,
it's debugging, but you won't be able to tell that really :)

--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to