Menu

Error using expressions in debugging

2008-04-17
2013-03-15
  • David Kadish

    David Kadish - 2008-04-17

    I am building a Django site and everything was working properly in Eclipse/PyDev until a few days ago. I started getting an error when trying to evaluate expressions during debug.

    Here's the trace:

    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

    I'm running Eclipse 3.3.2/PyDev and PyDev Extensions 1.3.15 on Kubuntu Gutsy.

    Any ideas what's wrong?

     
    • Fabio Zadrozny

      Fabio Zadrozny - 2008-04-17

      Not really... seems to be a bug for me.

      Can you report it in the sf tracker? Also, if you could provide some sample example where I can reproduce it (even if it depends on django), that'd be nice.

      Cheers,

      Fabio

       
    • Wynand

      Wynand - 2008-07-09

      I also get this error. I'm using Kubuntu 8.04, Eclipse 3.3.0 and PyDev Extensions 1.3.18. I've had this problem since 1.3.15 (perhaps earlier; I can't remember).

      It happens even when I run the most trivial of programs. For example:

      a = 1
      b = 2

      print a
      print b