Sometimes code analysis for python file freeze.
Eclipse Progress View show job analysis for python file. This job cannot be canceled (when press cancel, nothing happend),
When broken analysis python file happend, any code completion or any action required code analysis causes freeze eclipse
After crash, eclipse restart not help.
To make pydev works again
I close all py file Editors
Restart Eclipse
Remove and auto config python interpreter
Clean project
After this procedure code analysis start working
Code analysis freeze most often after starting eclipse with already opened python file in editor
The same with happen with PyDev 2.6 and Eclipse Helios Service Release 2
Never happen with PyDev 2.5 and Eclipse Helios Service Release 2
This issue is probably similar with Pydev Stuck on Code Analysis - ID: 3496051
This problem is hard to reproduce, but happend olso with PyDev project with only one file.
In Eclipse log I found only
!ENTRY com.aptana.shared_core 1 1 2012-10-16 10:01:44.453
!MESSAGE Warning: the cache related to project dependencies is the same for 1,31 minutes.
!STACK 0
java.lang.RuntimeException: Warning: the cache related to project dependencies is the same for 1,31 minutes.
But this is logged all the time, also when code analysis work correctly
Windows 32 bit
Eclipse Version: 4.2.1
Build id: M20120914-1800
Python 2.7.2
PyDev 2.7.0.2012100419
Possibly the problem is with connection between eclipse and python over TCP, when code analysis freeze, bot python and eclipse has listen port, but no connection established between them