Interactive mode in debugging fails as you try to use "imports" or just use "print 'hello world'". This seems to be a error that only exists until python 3.0 ?
Example code: ''' Created on 14. jun. 2016
'''
import time
Debugger output:
pydev debugger: starting (pid: 6988)
>>> time.sleep(4)
File "<stdin>", line 1
time.sleep(4)
^
SyntaxError: invalid syntax
>>>
This error has been found on eclipse mars 2.2 with newest pydev from the repostory (5.0.0).
With the same eclipse 4.5.2 (Mars) and LiClipse with 5.0.0 or 4.5.5 Java 1.7.0.80 in windows the error persists. In Lubuntu with the LiClipse it works with out fail.
So the error seems to only occur in windows.
The invalid syntax is pointing to the end of the line in time.sleep(2).