List Info

Thread: 1.3.14: Problem with debugging Django views




1.3.14: Problem with debugging Django views
user name
2008-03-18 08:39:06
Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=4845329

By: peter-melvyn

Hi Fabio,


Using PyDev 1.3.14, I've encountered a problem with
debugging Django views (i.e.
functions handling HTTP requests).

If I stop execution by reaching a breakpoint inside a
function which ends by
HTTP redirection (i.e. return HttpResponseRedirect(url)) and
run/trace it again,
it seems that PyDev hangs up after return. In the Console
the last message is
HTTP result 302 and debugged server (standard Django
development http server)
did not respond on any http request (socket error 10060 -
timeout). The similiar
deadlock occurs time-to-time during ordinary stepping a
code.

To get any response from HTTP server, I have to stop
debugger and run it again.

This behaveour is the same for Eclipse 3.2.2 and 3.3.2. If I
downgrade PyDev
back to 1.3.10 (last version I used before 1.3.14) in
Eclipse 3.2.2, the problem
disappears and everything goes smoothly as before update.

I run Django 0.97 rev. 7193 with Python 2.4.4 on W2Kprof.
SP4.


Is it a bug or did I mess something during Eclipse / Pydev /
PydevEx update?


Thanks for your support in advance,


Peter



____________________________________________________________
__________
You are receiving this email because you elected to monitor
this forum.
To stop monitoring this forum, login to SourceForge.net and
visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=
293649

------------------------------------------------------------
-------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Pydev-users mailing list
Pydev-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users


RE: 1.3.14: Problem with debugging Django views
user name
2008-03-24 11:45:28
Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=4860995

By: peter-melvyn

Hi Fabio,

I did some testing and have an additional info:

1. Pydev/PydevEx 1.3.10 on both Eclipses 3.2.2 or 3.3.2
works O.K.
2. The problem have all Pydev versions beginning with 1.3.11

2. To deadlock Pydev debugger, it is not neccessary to stop
execution on a breakpoint
and continue execution, but it is enough to run debugger and
navigate a browser
to a page using redirection
   

____________________________________________________________
__________
You are receiving this email because you elected to monitor
this forum.
To stop monitoring this forum, login to SourceForge.net and
visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=
293649

------------------------------------------------------------
-------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Pydev-users mailing list
Pydev-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )