On Thu, Mar 26, 2009 at 05:45:49PM +0100, Filip Gruszczyński wrote:
> I tried using import pdb right before the exception and runing
> set_trace, but it just displayed next command and finished. This code
> is executed in separate thread (ususally operations on serial port
> take a while, so I have to do it on seperate thread).

If the problem is reproducible with one thread, I'd use it for
debugging.

Although I've never thought about using threads from Django; what will
your "main" thread answer to the browser?

With kind regards,
-- 
Baurzhan Ismagulov
http://www.kz-easy.com/

--~--~---------~--~----~------------~-------~--~----~
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