Using:
Kubuntu Gutsy
Eclipse 3.3.2 (at /usr/bin/eclipse_3.3.1)
PyDev and PyDev Extensions 1.3.15
Django 0.96
Workspace at /home/dkadish/workspace/maverick
While attempting to evaluate expressions during debug (on any page in the Django app), the debugger throws an error. The trace is as follows:
pydev debugger: starting
Validating models...
0 errors found.
Django version 0.96, using settings 'maverick.settings'
Development server is running at http://127.0.0.1:7000/
Quit the server with CONTROL-C.
Traceback (most recent call last):
File "/home/dkadish/.eclipse/org.eclipse.platform_3.3.0_1158523281/configuration/eclipse/plugins/org.python.pydev.debug_1.3.15/pysrc/pydevd_comm.py", line 555, in doIt
result = pydevd_vars.evaluateExpression(self.thread_id, self.frame_id, self.expression, self.doExec)
File "/home/dkadish/.eclipse/org.eclipse.platform_3.3.0_1158523281/configuration/eclipse/plugins/org.python.pydev.debug_1.3.15/pysrc/pydevd_vars.py", line 269, in evaluateExpression
frame = findFrame(thread_id, frame_id)
File "/home/dkadish/.eclipse/org.eclipse.platform_3.3.0_1158523281/configuration/eclipse/plugins/org.python.pydev.debug_1.3.15/pysrc/pydevd_vars.py", line 201, in findFrame
raise VariableError("findFrame: must execute on same thread")
VariableError: findFrame: must execute on same thread
------------------------------------------------------
This specific test was using the attached file, breakpoint at line 9 and evaluating the expression: render_to_response(t.render(c)). That said, this happens in all modules.
The expressions component in Eclipse displays a "Could not resolve variable" message.
Test file that throws error